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

UserDefinedFunction.Deny Method (ObjectPermissionSet, String)

Denies the specified set of permissions for the specified grantee on the user-defined function.

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

public void Deny(
	ObjectPermissionSet permission,
	string granteeName
)

Parameters

permission
Type: Microsoft.SqlServer.Management.Smo.ObjectPermissionSet
An ObjectPermissionSet object value that specifies the permission.
granteeName
Type: String
A String value that specifies the grantee to be denied the specified set of permissions on the user-defined function.

Implements

IObjectPermission.Deny(ObjectPermissionSet, String)

Community Additions

ADD
Show:
© 2015 Microsoft