Compartilhar via


Methods, Role Interface

ObservaçãoObservação

  Esse recurso será removido na próxima versão do Microsoft SQL Server. Não utilize esse recurso em desenvolvimentos novos e modifique, assim que possível, os aplicativos que atualmente o utilizam.

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

Consulte também

Referência