Methods, clsDatabaseRole

[!附註]

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

An object of ClassType clsDatabaseRole implements the following methods of the Role interface.

Method

Description

Clone

Copies the properties of the role to a different role object

LockObject

Locks the role object

SetPermissions

Sets role permissions for a given key

UnlockObject

Unlocks a previously locked object

Update

Updates the definition of the database role in the metadata repository

請參閱

參考