共用方式為


ApplicationRole.Deny Method

Denies the specified permission for the specified grantees on the application role.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

多載清單

名稱 Description
ApplicationRole.Deny (ObjectPermissionSet, String)
Denies the specified permission for the specified grantee on the application role.
ApplicationRole.Deny (ObjectPermissionSet, String[])
Denies the specified permission for the specified grantees on the application role.
ApplicationRole.Deny (ObjectPermissionSet, String, Boolean)
Denies access to the specified permission for the specified grantee and other users that the grantee granted the specified set of permissions on the application role.
ApplicationRole.Deny (ObjectPermissionSet, String[], Boolean)
Denies the specified permission for the specified grantees on the application role.

請參閱

參考

ApplicationRole Class
ApplicationRole Members
Microsoft.SqlServer.Management.Smo Namespace

其他資源

Granting, Revoking, and Denying Permissions
應用程式角色
Calling Methods