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
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
- role
Type : Microsoft.SharePoint.Client.Sharing.Role
Valeur renvoyée
Type : Microsoft.SharePoint.Client.RoleDefinition