RoleDefinition.Name - Propriété
Gets or sets a value that specifies the role definition name.
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 Name As String
Get
Set
'Utilisation
Dim instance As RoleDefinition
Dim value As String
value = instance.Name
instance.Name = value
public string Name { get; set; }
Valeur de propriété
Type : System.String
Returns a String instance representing the role definition name.
Exceptions
Exception | Condition |
---|---|
[System.InvalidOperationException] | Role definition is inherited from a parent site. Error code: -1. |
Remarques
It must not be une référence Null (Rien dans Visual Basic). It must not be empty. Its length must be equal to or less than 255. Must not contain any of the following characters: /\[]:|<>+=;,?*'"@