Bagikan melalui


IObjectPermission.Deny Method

Include Protected Members
Include Inherited Members

Denies access to the specified permission for the specified grantees on the SMO object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Deny(ObjectPermissionSet, String) Denies access to the specified permission for the specified grantee on the SMO object.
Public method Deny(ObjectPermissionSet, array<String[]) Denies access to the specified permission for the specified grantees on the SMO object.
Public method Deny(ObjectPermissionSet, String, Boolean) Denies access to the specified permission for the specified grantee and other users that the grantee granted access on the SMO object.
Public method Deny(ObjectPermissionSet, array<String[], Boolean) Denies access to the specified permission for the specified grantees on the SMO object.

Top

See Also

Reference

IObjectPermission Interface

Microsoft.SqlServer.Management.Smo Namespace