Partager via


ObjectSharingInformation.CanCurrentUserShare - Méthode

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Shared Function CanCurrentUserShare ( _
    context As ClientRuntimeContext, _
    docId As String _
) As ClientResult(Of UserSharingCapabilities)
'Utilisation
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
)

Paramètres

Valeur renvoyée

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

Voir aussi

Référence

ObjectSharingInformation classe

ObjectSharingInformation - Membres

Microsoft.SharePoint.Client - Espace de noms