Share via


Group.Description property

Gets or sets the description of this Group object

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

Syntax

'Declaration
Public Property Description As String
    Get
    Set
'Usage
Dim instance As Group
Dim value As String

value = instance.Description

instance.Description = value
public string Description { get; set; }

Property value

Type: System.String
The description of this Group object

Exceptions

Exception Condition
ArgumentException

The description '{0}' is invalid. It probably contains invalid characters or is too long.

UnauthorizedAccessException

The current user has insufficient permissions to perform this operation.

Remarks

The description can be empty. The description length cannot exceed 1000 characters.The description cannot contain tab characters. The current user must have TaxonomyRights.EditGroup permission in order to set this property. After setting this property, call the CommitAll() method to save this change to the database.

See also

Reference

Group class

Group members

Microsoft.SharePoint.Taxonomy namespace