Share via


Synonym.Deny Method

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

Remarks

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

Overload List

Name 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.

See Also

Reference

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

Other Resources

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