Click or drag to resize
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.SharePoint
Assembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 11.0.0
Syntax
C#
DataSet GetLists(
	int listType = 0
)

Parameters

listType (Optional)
Type: SystemInt32
Specifies whether to list only lists of certain type.

Return Value

Type: DataSet
DataSet containing DataTable with all lists.
Exceptions
ExceptionCondition
SharePointServerExceptionThrown whenever server error occurs.
WebExceptionThrown when error related to network or protocol occurs.
SharePointConnectionNotSupportedExceptionThrown when given connectionData contains unsupported authentication mode or invalid URL.
SharePointCCSDKExceptionThrown when identity client library "msoidcliL.dll" needed for SharePoint Online authentication is missing. See documentation for details.
ExceptionThrown in case of unexpected error condition.
See Also