Description (Role Interface)

ms132764.note(zh-cn,SQL.90).gif注意:
  下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

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

示例

Use the following code to set a role object description:

RoleObject.Description = "Eastern Region Sales and Marketing"

请参阅

参考

Role Interface

帮助和信息

获取 SQL Server 2005 帮助