Description (Role Interface)
Note
This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.
The Description property of the Role interface contains the description of the role object.
Applies To:clsCubeRole, clsDatabaseRole, clsMiningModelRole
Data Type
String
Access
Access depends on the value of the ClassType property of the object.
Class type | Access |
---|---|
clsDatabaseRole |
R/W |
clsCubeRole |
R |
clsMiningModelRole |
R |
Example
Use the following code to set a role object description:
RoleObject.Description = "Eastern Region Sales and Marketing"