Compartilhar via


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

Valor retornado

Tipo: Microsoft.SharePoint.Client.ClientResult<Boolean>

Ver também

Referência

DocumentSharingManager classe

DocumentSharingManager membros

Microsoft.SharePoint.Client.Sharing namespace