RoleDefinition.Description property
Gets or sets a value that specifies the description of the role definition.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Property Description As String
Get
Set
'Usage
Dim instance As RoleDefinition
Dim value As String
value = instance.Description
instance.Description = value
public string Description { get; set; }
Property value
Type: System.String
Returns a String instance representing the description of the role definition.
Exceptions
Exception | Condition |
---|---|
[System.InvalidOperationException] | Site inherits permission levels from a parent site, and permission levels cannot be customized. Error code: -1. |
Remarks
Its length must be equal to or less than 512.