RoleDefinition.Description Property
Gets or sets a value that specifies the description of the role definition.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Property Description As String
Get
Set
'Usage
Dim instance As RoleDefinition
Dim value As String
value = instance.Description
instance.Description = value
[RemoteAttribute]
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.