Methods, Role Interface
注意: |
---|
下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。 |
The Role interface supports the following methods.
Method | Description |
---|---|
Copies the properties of a role object to an existing role object |
|
Locks a role object |
|
Sets role permissions for a given key |
|
Unlocks a previously locked role object |
|
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 |