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

请参阅

参考