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


Свойство RoleDefinition.Order

Gets or sets a value that specifies the order position of the object in the site collection Permission Levels page.

Пространство имен:  Microsoft.SharePoint.Client
Сборки:   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 Property Order As Integer
    Get
    Set
'Применение
Dim instance As RoleDefinition
Dim value As Integer

value = instance.Order

instance.Order = value
public int Order { get; set; }

Значение свойства

Тип: System.Int32
Returns a Int32 instance representing the order position of the object in the site collection Permission Levels page.

Исключения

Исключение Условие
[System.InvalidOperationException]

The user cannot customize permission levels in a web site with inherited permission levels. Error code:-1.

См. также

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

RoleDefinition класс

Элементы RoleDefinition

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