Partager via


DocumentSharingManager.GetRoleDefinition - Méthode

Espace de noms :  Microsoft.SharePoint.Client.Sharing
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 GetRoleDefinition ( _
    context As ClientRuntimeContext, _
    role As Role _
) As RoleDefinition
'Utilisation
Dim context As ClientRuntimeContext
Dim role As Role
Dim returnValue As RoleDefinition

returnValue = DocumentSharingManager.GetRoleDefinition(context, _
    role)
public static RoleDefinition GetRoleDefinition(
    ClientRuntimeContext context,
    Role role
)

Paramètres

Valeur renvoyée

Type : Microsoft.SharePoint.Client.RoleDefinition

Voir aussi

Référence

DocumentSharingManager classe

DocumentSharingManager - Membres

Microsoft.SharePoint.Client.Sharing - Espace de noms