Click or drag to resize
ISharePointServiceFactoryGetImplementationForIService Method
Gets implementation of SharePoint service. The service uses given connectionData.

Namespace: CMS.SharePoint
Assembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 9.0.0
Syntax
C#
IService GetImplementationFor<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: IService
Service implementation
Exceptions
ExceptionCondition
SharePointServiceNotSupportedExceptionThrown when IService implementation is not available.
SharePointConnectionNotSupportedExceptionThrown when available service implementation does not support given connectionData.
See Also