Description (Role Interface)
[!NOTA]
Esta característica se quitará en la versión siguiente de Microsoft SQL Server. No utilice esta característica en nuevos trabajos de desarrollo y modifique lo antes posible las aplicaciones que actualmente la utilizan.
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 |
Ejemplo
Use the following code to set a role object description:
RoleObject.Description = "Eastern Region Sales and Marketing"