Name (Role Interface)

ms132797.note(zh-tw,SQL.90).gif附註:
  下一版的 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"

請參閱

參考

Role Interface

說明及資訊

取得 SQL Server 2005 協助