Share via


Schema.Deny Method

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

Remarks

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

Overload List

Name Description
Schema.Deny (ObjectPermissionSet, String)
Denies the specified set of permissions for the specified grantee on the schema.
Schema.Deny (ObjectPermissionSet, String[])
Denies the specified set of permissions for the specified grantees on the schema.
Schema.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 schema.
Schema.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 schema.

See Also

Reference

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

Other Resources

Granting, Revoking, and Denying Permissions
Understanding the Database Schemas
CREATE SCHEMA (Transact-SQL)