共用方式為


Description (Role Interface)

[!附註]

  下一版的 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"

請參閱

參考