Click or drag to resize
GetSharePointFileHandlerGetService Method
Gets the necessary service for getting the specified file.

Namespace: CMS.SharePoint
Assembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 8.2.23
Syntax
C#
protected virtual ISharePointFileService GetService(
	SharePointConnectionInfo connection
)

Parameters

connection
Type: CMS.SharePointSharePointConnectionInfo
Connection containing information about connection to the SharePoint site on which the file is located.

Return Value

Type: ISharePointFileService
Exceptions
ExceptionCondition
SharePointServiceFactoryNotSupportedExceptionThrown when no service factory for specified SharePoint version found.
SharePointServiceNotSupportedExceptionThrown when IService implementation is not available.
SharePointConnectionNotSupportedExceptionThrown when available service implementation does not support given connectionData.
See Also