DocumentSharingManager.IsDocumentSharingEnabled método
Namespace: Microsoft.SharePoint.Client.Sharing
Assemblies: Microsoft.SharePoint.Client.Silverlight (em Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (em Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (em Microsoft.SharePoint.Client.dll)
Sintaxe
'Declaração
Public Shared Function IsDocumentSharingEnabled ( _
context As ClientRuntimeContext, _
list As List _
) As ClientResult(Of Boolean)
'Uso
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
)
Parâmetros
- context
Tipo: Microsoft.SharePoint.Client.ClientRuntimeContext
- list
Tipo: Microsoft.SharePoint.Client.List
Valor retornado
Tipo: Microsoft.SharePoint.Client.ClientResult<Boolean>