[This is preliminary documentation and is subject to change.]
Gets a set of timesheet task names corresponding to a particular group.
Namespace:
OfficeClip.DBLayer.TEAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public SqlDataReader GetTimeSheetTaskNames( int groupId ) |
Visual Basic (Declaration) |
---|
Public Function GetTimeSheetTaskNames ( _ groupId As Integer _ ) As SqlDataReader |
Visual C++ |
---|
public: SqlDataReader^ GetTimeSheetTaskNames( int groupId ) |
Parameters
- groupId
- Type: System..::.Int32
The unique id for the group.
Return Value
SqlDataReader containing all the details of the timesheet tasks. The SqlDataReader returns a single column TaskName (System.String).
Remarks
Make sure to Close the SqlDataReader after the use otherwise
it will leave and connection open
(till garbage collector releases the Data Reader).
If not closed explicitly, the .Net framework might hang
and slow down because of the number of open connections
Limit might be reached.