ISharePointListService GetLists Method Kentico 8.1 API Reference
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: 8.0.0.0 (8.1.5347.20411)

Parameters

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

Return Value

Type: OnlineDataSet
DataSet containing DataTable with all lists.
Exceptions

ExceptionCondition
CMS.SharePoint SharePointServerExceptionThrown whenever server error occurs.
OnlineSystem.Net WebExceptionThrown when error related to network or protocol occurs.
CMS.SharePoint SharePointConnectionNotSupportedExceptionThrown when given connectionData contains unsupported authentication mode or invalid URL.
CMS.SharePoint SharePointCCSDKExceptionThrown when identity client library "msoidcliL.dll" needed for SharePoint Online authentication is missing. See documentation for details.
OnlineSystem ExceptionThrown in case of unexpected error condition.
See Also