DocumentSharingManager.GetRoleDefinition 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 GetRoleDefinition ( _
context As ClientRuntimeContext, _
role As Role _
) As RoleDefinition
'Uso
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
)
Parâmetros
- context
Tipo: Microsoft.SharePoint.Client.ClientRuntimeContext
- role
Tipo: Microsoft.SharePoint.Client.Sharing.Role
Valor retornado
Tipo: Microsoft.SharePoint.Client.RoleDefinition