[This is preliminary documentation and is subject to change.]
Get a list of bookmark categories created for a particular group.
Namespace:
OfficeClip.DBLayer.OfficePortalAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public SqlDataReader GetCategories( int groupId ) |
Visual Basic (Declaration) |
---|
Public Function GetCategories ( _ groupId As Integer _ ) As SqlDataReader |
Visual C++ |
---|
public: SqlDataReader^ GetCategories( int groupId ) |
Parameters
- groupId
- Type: System..::.Int32
The unique id for the group.
Return Value
DataSet containing the bookmark Category related information. This DataSet consists of a single DataTable with the following columns.- id (System.Int32)Id of a particular bookmark Category.
- name (System.String)Name of the bookmark Category.
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.