Поделиться через


Метод DocumentSharingManager.GetRoleDefinition

Пространство имен:  Microsoft.SharePoint.Client.Sharing
Сборки:   Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)

Синтаксис

'Декларация
Public Shared Function GetRoleDefinition ( _
    context As ClientRuntimeContext, _
    role As Role _
) As RoleDefinition
'Применение
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
)

Параметры

Возвращаемое значение

Тип: Microsoft.SharePoint.Client.RoleDefinition

См. также

Справочные материалы

DocumentSharingManager класс

Элементы DocumentSharingManager

Пространство имен Microsoft.SharePoint.Client.Sharing