Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Synonym.Deny Method (ObjectPermissionSet, String[])


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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void Deny(
	ObjectPermissionSet permission,
	string[] granteeNames


Type: Microsoft.SqlServer.Management.Smo.ObjectPermissionSet

An ObjectPermissionSet object value that specifies the set of permissions.

Type: System.String[]

A String array that specifies a list of grantees to be denied the specified set of permissions on the synonym.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft