Compartilhar via


ObjectSharingInformation.CanCurrentUserShare método

Namespace:  Microsoft.SharePoint.Client
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 CanCurrentUserShare ( _
    context As ClientRuntimeContext, _
    docId As String _
) As ClientResult(Of UserSharingCapabilities)
'Uso
Dim context As ClientRuntimeContext
Dim docId As String
Dim returnValue As ClientResult(Of UserSharingCapabilities)

returnValue = ObjectSharingInformation.CanCurrentUserShare(context, _
    docId)
public static ClientResult<UserSharingCapabilities> CanCurrentUserShare(
    ClientRuntimeContext context,
    string docId
)

Parâmetros

Valor retornado

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

Ver também

Referência

ObjectSharingInformation classe

ObjectSharingInformation membros

Microsoft.SharePoint.Client namespace