Share via


View.Deny Method

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

Remarks

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

Overload List

Name Description
View.Deny (ObjectPermissionSet, String)
Denies the specified set of permissions for the specified grantee on the view.
View.Deny (ObjectPermissionSet, String[])
Denies the specified set of permissions for the specified grantees on the view.
View.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 view.
View.Deny (ObjectPermissionSet, String, String[])
Denies the specified set of permissions to the grantee on the specified columns on the view.
View.Deny (ObjectPermissionSet, String[], Boolean)
Denies the specified permission for the specified grantees on the view.
View.Deny (ObjectPermissionSet, String[], String[])
Denies the specified set of permissions for the grantees on the specified columns on the view.
View.Deny (ObjectPermissionSet, String, 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 specified columns on the view.
View.Deny (ObjectPermissionSet, String[], 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 specified columns on the view.

See Also

Reference

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

Other Resources

Granting, Revoking, and Denying Permissions
Creating, Altering, and Removing Views
Designing and Implementing Views
CREATE VIEW (Transact-SQL)