مشاركة عبر


IColumnPermission Interface

The IColumnPermission class represents the interface that manages permissions for a specified column.

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

Syntax

'Declaration
Public Interface IColumnPermission _
    Inherits IObjectPermission
'Usage
Dim instance As IColumnPermission
public interface IColumnPermission : IObjectPermission
public interface class IColumnPermission : IObjectPermission
type IColumnPermission =  
    interface 
        interface IObjectPermission 
    end
public interface IColumnPermission extends IObjectPermission

Methods

  Name Description
Public method Deny(ObjectPermissionSet, String) Denies access to the specified permission for the specified grantee on the SMO object. (Inherited from IObjectPermission.)
Public method Deny(ObjectPermissionSet, array<String[]) Denies access to the specified permission for the specified grantees on the SMO object. (Inherited from IObjectPermission.)
Public method Deny(ObjectPermissionSet, String, array<String[]) Denies access to the specified permissions for the specified grantee on the specified list of columns.
Public method Deny(ObjectPermissionSet, array<String[], array<String[]) Denies access to the specified permissions for the specified grantees on the specified list of columns.
Public method Deny(ObjectPermissionSet, String, Boolean) Denies access to the specified permission for the specified grantee and other users that the grantee granted access on the SMO object. (Inherited from IObjectPermission.)
Public method Deny(ObjectPermissionSet, array<String[], Boolean) Denies access to the specified permission for the specified grantees on the SMO object. (Inherited from IObjectPermission.)
Public method Deny(ObjectPermissionSet, String, array<String[], Boolean) Denies access to the specified permission for the specified grantee and other users that the grantee granted access to on the specified list of columns.
Public method Deny(ObjectPermissionSet, array<String[], array<String[], Boolean) Denies access to the specified permission for the specified grantees and other users that the grantee granted access to on the specified list of columns.
Public method EnumColumnPermissions(String) Enumerates a list of object permissions for a specified grantee on the referenced column.
Public method EnumColumnPermissions(String, ObjectPermissionSet) Enumerates a list of object permissions for a specified grantee and a specified permission on the referenced column.
Public method EnumObjectPermissions() Enumerates a list of object permissions for the SMO object. (Inherited from IObjectPermission.)
Public method EnumObjectPermissions(String) Enumerates a list of object permissions for a specified grantee on the SMO object. (Inherited from IObjectPermission.)
Public method EnumObjectPermissions(ObjectPermissionSet) Enumerates a list of object permissions for a specified permission on the SMO object. (Inherited from IObjectPermission.)
Public method EnumObjectPermissions(String, ObjectPermissionSet) Enumerates a list of object permissions for a specified grantee and a specified permission on the SMO object. (Inherited from IObjectPermission.)
Public method Grant(ObjectPermissionSet, String) Grants access to the specified permission for the specified grantee on the SMO object. (Inherited from IObjectPermission.)
Public method Grant(ObjectPermissionSet, array<String[]) Grants access to the specified permission for the specified grantees on the SMO object. (Inherited from IObjectPermission.)
Public method Grant(ObjectPermissionSet, String, array<String[]) Grants access to the specified permission for the specified grantee on the referenced list of columns.
Public method Grant(ObjectPermissionSet, array<String[], array<String[]) Grants access to the specified permission for the specified grantees on the stored procedure.
Public method Grant(ObjectPermissionSet, String, Boolean) Grants access to the specified permission and the ability to grant access to other users for the specified grantee on the SMO object. (Inherited from IObjectPermission.)
Public method Grant(ObjectPermissionSet, array<String[], Boolean) Grants access to the specified permission and the ability to grant access to other users for the specified grantees on the SMO object. (Inherited from IObjectPermission.)
Public method Grant(ObjectPermissionSet, String, array<String[], Boolean) Grants access to the specified permission and the ability to grant access to other users for the specified grantee on the referenced columns.
Public method Grant(ObjectPermissionSet, array<String[], array<String[], Boolean) Grants access to the specified permission and the ability to grant access to other users for the specified grantee on the referenced columns.
Public method Grant(ObjectPermissionSet, String, Boolean, String) Grants access to the specified permission and the ability to grant access to other users for the specified grantee on the SMO object. (Inherited from IObjectPermission.)
Public method Grant(ObjectPermissionSet, array<String[], Boolean, String) Grants access to the specified permission and the ability to grant access to other users for the specified grantee on the SMO object under an assumed role. (Inherited from IObjectPermission.)
Public method Grant(ObjectPermissionSet, String, array<String[], Boolean, String) Grants access to the specified set of permissions and the ability to grant access to other users for the specified grantee on the referenced columns under an assumed role.
Public method Grant(ObjectPermissionSet, array<String[], array<String[], Boolean, String) Grants access to the specified set of permissions and the ability to grant access to other users for the specified grantees on the referenced columns under an assumed role.
Public method Revoke(ObjectPermissionSet, String) Revokes previously granted permissions from a grantee on the SMO object. (Inherited from IObjectPermission.)
Public method Revoke(ObjectPermissionSet, array<String[]) Revokes previously granted permissions from a list of grantees on the SMO object. (Inherited from IObjectPermission.)
Public method Revoke(ObjectPermissionSet, String, array<String[]) Revokes previously granted permissions from a grantee on the referenced columns.
Public method Revoke(ObjectPermissionSet, array<String[], array<String[]) Revokes previously granted permissions from a list of grantees on the referenced columns.
Public method Revoke(ObjectPermissionSet, array<String[], Boolean, Boolean) Revokes previously granted permissions from a grantees on the SMO object and any other users to whom the grantees have granted access. The grantees are also given the ability to revoke other users' access. (Inherited from IObjectPermission.)
Public method Revoke(ObjectPermissionSet, String, array<String[], Boolean, Boolean) Revokes previously granted permissions from a grantees on the referenced columns and any other users to whom the grantees have granted access. The grantees are also given the ability to revoke other users' access.
Public method Revoke(ObjectPermissionSet, array<String[], array<String[], Boolean, Boolean) Revokes previously granted permissions from a list of grantees on the stored procedure and any other users to whom the grantee has granted access. The grantee is also given the ability to revoke other users' access under an assumed role.
Public method Revoke(ObjectPermissionSet, String, Boolean, Boolean, String) Revokes previously granted permissions from a grantee on the SMO object and any other users to whom the grantee has granted access. The grantee is also given the ability to revoke other users' access under an assumed role. (Inherited from IObjectPermission.)
Public method Revoke(ObjectPermissionSet, String, array<String[], Boolean, Boolean, String) Revokes previously granted permissions from a grantee on the referenced columns and any other users to whom the grantee has granted access. The grantee is also given the ability to revoke other users' access under an assumed role.
Public method Revoke(ObjectPermissionSet, array<String[], array<String[], Boolean, Boolean, String) Revokes previously granted permissions from a list of grantees on the referenced columns and any other users to whom the grantee has granted access. The grantee is also given the ability to revoke other users' access under an assumed role.

Top

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace