共用方式為


Methods, Role Interface

ms133869.note(zh-tw,SQL.90).gif附註:
  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

The Role interface supports the following methods.

Method Description

Clone

Copies the properties of a role object to an existing role object

LockObject

Locks a role object

SetPermissions

Sets role permissions for a given key

UnlockObject

Unlocks a previously locked role object

Update

Saves a role in the repository

Method/Class Cross-Reference

The following table shows the applicability of each method to each object. X indicates applicable; n/a indicates not applicable.

  clsDatabaseRole clsCubeRole clsMiningModelRole

Clone

X

n/a

n/a

LockObject

X

n/a

n/a

SetPermissions

X

X

X

UnlockObject

X

n/a

n/a

Update

X

n/a

n/a

請參閱

參考

Role Interface

說明及資訊

取得 SQL Server 2005 協助