Share via


Methods, clsDatabaseRole

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

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

See Also

Reference