| ISharePointListServiceGetLists Method | 
            Gets all lists on SharePoint server.
            The DataSet has an empty table (with possibly no columns) if no lists are retrieved.
            
 
Namespace: CMS.SharePointAssembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 13.0.131
 Syntax
SyntaxDataSet GetLists(
	int listType = 0
)
Parameters
- listType (Optional)
- Type: SystemInt32
 Specifies whether to list only lists of certain type.
Return Value
Type: 
DataSetDataSet containing DataTable with all lists.
 Exceptions
Exceptions| Exception | Condition | 
|---|
| SharePointServerException | Thrown whenever server error occurs. | 
| WebException | Thrown when error related to network or protocol occurs. | 
| SharePointConnectionNotSupportedException | Thrown when given connectionData contains unsupported authentication mode or invalid URL. | 
| Exception | Thrown in case of unexpected error condition. | 
 See Also
See Also