del método DocumentSharingManager.GetRoleDefinition
Espacio de nombres: Microsoft.SharePoint.Client.Sharing
Ensamblados: Microsoft.SharePoint.Client.Silverlight (en Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (en Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (en Microsoft.SharePoint.Client.dll)
Sintaxis
'Declaración
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 devuelto
Tipo: Microsoft.SharePoint.Client.RoleDefinition