共用方式為


Name (Role Interface)

[!附註]

  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

The Name property of the Role interface contains the name of the role object.

Applies To:clsCubeRole, clsDatabaseRole, clsMiningModelRole

Data Type

String

Access

Read/write (read-only after the object has been named)

範例

Use the following code to set a role object name:

RoleObject.Name = "Sales and Marketing"

請參閱

參考