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: 8.0.0.0 (8.1.5347.20411)
Parameters
- listType (Optional)
- Type:
System Int32
Specifies whether to list only lists of certain type.
Return Value
Type:
DataSet containing DataTable with all lists.
Exceptions
Exception | Condition |
---|---|
CMS.SharePoint SharePointServerException | Thrown whenever server error occurs. |
![]() | Thrown when error related to network or protocol occurs. |
CMS.SharePoint SharePointConnectionNotSupportedException | Thrown when given connectionData contains unsupported authentication mode or invalid URL. |
CMS.SharePoint SharePointCCSDKException | Thrown when identity client library "msoidcliL.dll" needed for SharePoint Online authentication is missing. See documentation for details. |
![]() | Thrown in case of unexpected error condition. |
See Also