共用方式為


Synonym.Deny Method

Denies the specified set of permissions for the specified grantees on the synonym.

備註

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

多載清單

名稱 Description
Synonym.Deny (ObjectPermissionSet, String)
Denies the specified set of permissions for the specified grantee on the synonym.
Synonym.Deny (ObjectPermissionSet, String[])
Denies the specified set of permissions for the specified grantees on the synonym.
Synonym.Deny (ObjectPermissionSet, String, Boolean)
Denies the specified set of permissions for the specified grantee and other users that the grantee granted the specified set of permissions on the synonym.
Synonym.Deny (ObjectPermissionSet, String[], Boolean)
Denies the specified set of permissions for the specified grantees and other users that the grantee granted the specified set of permissions on the synonym.

請參閱

參考

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

其他資源

Granting, Revoking, and Denying Permissions
Using Synonyms
CREATE SYNONYM (Transact-SQL)