Partager via


RoleDefinition.Order - Propriété

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

Espace de noms :  Microsoft.SharePoint.Client
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 Property Order As Integer
    Get
    Set
'Utilisation
Dim instance As RoleDefinition
Dim value As Integer

value = instance.Order

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

Valeur de propriété

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

Exceptions

Exception Condition
[System.InvalidOperationException]

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

Voir aussi

Référence

RoleDefinition classe

RoleDefinition - Membres

Microsoft.SharePoint.Client - Espace de noms