DocumentSharingManager.IsDocumentSharingEnabled method
Namespace: Microsoft.SharePoint.Client.Sharing
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Shared Function IsDocumentSharingEnabled ( _
context As ClientRuntimeContext, _
list As List _
) As ClientResult(Of Boolean)
'Usage
Dim context As ClientRuntimeContext
Dim list As List
Dim returnValue As ClientResult(Of Boolean)
returnValue = DocumentSharingManager.IsDocumentSharingEnabled(context, _
list)
public static ClientResult<bool> IsDocumentSharingEnabled(
ClientRuntimeContext context,
List list
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- list
Type: Microsoft.SharePoint.Client.List
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>