IObjectPermission Members
The IObjectPermission class represents the interface used to set object permissions.
The following tables list the members exposed by the IObjectPermission type.
Public Methods
名稱 | Description | |
---|---|---|
Deny | Overloaded. Denies access to the specified permission for the specified grantees on the SQL Server Management Objects (SMO) object. | |
EnumObjectPermissions | Overloaded. Enumerates a list of object permissions for the SQL Server Management Objects (SMO) object. | |
Grant | Overloaded. Grants access to the specified permission for the specified grantees on the SQL Server Management Objects (SMO) object. | |
Revoke | Overloaded. Revokes previously granted permissions from a grantee or grantees on the SQL Server Management Objects (SMO) object. |
頂端
請參閱
參考
IObjectPermission Interface
Microsoft.SqlServer.Management.Smo Namespace