共用方式為


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
ms219779.pubmethod(zh-tw,SQL.90).gif Deny Overloaded. Denies access to the specified permission for the specified grantees on the SQL Server Management Objects (SMO) object.
ms219779.pubmethod(zh-tw,SQL.90).gif EnumObjectPermissions Overloaded. Enumerates a list of object permissions for the SQL Server Management Objects (SMO) object.
ms219779.pubmethod(zh-tw,SQL.90).gif Grant Overloaded. Grants access to the specified permission for the specified grantees on the SQL Server Management Objects (SMO) object.
ms219779.pubmethod(zh-tw,SQL.90).gif 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