Gets implementation of SharePoint service suitable for version specified in connectionData. The service uses given connectionData.
Namespace: CMS.SharePointAssembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- connectionData
- Type: CMS.SharePoint SharePointConnectionData
Data (credentials etc.) needed to establish connection to SharePoint server
Return Value
Type: IServiceService implementation
Exceptions
Exception | Condition |
---|---|
CMS.SharePoint SharePointServiceFactoryNotSupportedException | Thrown when no service factory for specified SharePoint version found. |
CMS.SharePoint SharePointServiceNotSupportedException | Thrown when IService implementation is not available. |
CMS.SharePoint SharePointConnectionNotSupportedException | Thrown when available service implementation does not support given connectionData. |
See Also