SharePointServicesGetServiceIService Method |
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: 9.0.0
Syntax public static IService GetService<IService>(
SharePointConnectionData connectionData
)
where IService : ISharePointService
Parameters
- connectionData
- Type: CMS.SharePointSharePointConnectionData
Data (credentials etc.) needed to establish connection to SharePoint server
Type Parameters
- IService
- Type of service to get implementation for
Return Value
Type:
IServiceService implementation
Exceptions See Also