共用方式為


IColumnPermission 介面

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Interface IColumnPermission _
    Inherits IObjectPermission
'用途
Dim instance As IColumnPermission
public interface IColumnPermission : IObjectPermission
public interface class IColumnPermission : IObjectPermission
type IColumnPermission =  
    interface 
        interface IObjectPermission 
    end
public interface IColumnPermission extends IObjectPermission

方法

  名稱 說明
公用方法 Deny(ObjectPermissionSet, String) Denies access to the specified permission for the specified grantee on the SMO object. (繼承自 IObjectPermission。)
公用方法 Deny(ObjectPermissionSet, array<String[]) Denies access to the specified permission for the specified grantees on the SMO object. (繼承自 IObjectPermission。)
公用方法 Deny(ObjectPermissionSet, String, array<String[]) Denies access to the specified permissions for the specified grantee on the specified list of columns.
公用方法 Deny(ObjectPermissionSet, array<String[], array<String[]) Denies access to the specified permissions for the specified grantees on the specified list of columns.
公用方法 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. (繼承自 IObjectPermission。)
公用方法 Deny(ObjectPermissionSet, array<String[], Boolean) Denies access to the specified permission for the specified grantees on the SMO object. (繼承自 IObjectPermission。)
公用方法 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.
公用方法 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.
公用方法 EnumColumnPermissions(String) Enumerates a list of object permissions for a specified grantee on the referenced column.
公用方法 EnumColumnPermissions(String, ObjectPermissionSet) Enumerates a list of object permissions for a specified grantee and a specified permission on the referenced column.
公用方法 EnumObjectPermissions() Enumerates a list of object permissions for the SMO object. (繼承自 IObjectPermission。)
公用方法 EnumObjectPermissions(String) Enumerates a list of object permissions for a specified grantee on the SMO object. (繼承自 IObjectPermission。)
公用方法 EnumObjectPermissions(ObjectPermissionSet) Enumerates a list of object permissions for a specified permission on the SMO object. (繼承自 IObjectPermission。)
公用方法 EnumObjectPermissions(String, ObjectPermissionSet) Enumerates a list of object permissions for a specified grantee and a specified permission on the SMO object. (繼承自 IObjectPermission。)
公用方法 Grant(ObjectPermissionSet, String) Grants access to the specified permission for the specified grantee on the SMO object. (繼承自 IObjectPermission。)
公用方法 Grant(ObjectPermissionSet, array<String[]) Grants access to the specified permission for the specified grantees on the SMO object. (繼承自 IObjectPermission。)
公用方法 Grant(ObjectPermissionSet, String, array<String[]) Grants access to the specified permission for the specified grantee on the referenced list of columns.
公用方法 Grant(ObjectPermissionSet, array<String[], array<String[]) Grants access to the specified permission for the specified grantees on the stored procedure.
公用方法 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. (繼承自 IObjectPermission。)
公用方法 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. (繼承自 IObjectPermission。)
公用方法 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.
公用方法 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.
公用方法 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. (繼承自 IObjectPermission。)
公用方法 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. (繼承自 IObjectPermission。)
公用方法 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.
公用方法 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.
公用方法 Revoke(ObjectPermissionSet, String) Revokes previously granted permissions from a grantee on the SMO object. (繼承自 IObjectPermission。)
公用方法 Revoke(ObjectPermissionSet, array<String[]) Revokes previously granted permissions from a list of grantees on the SMO object. (繼承自 IObjectPermission。)
公用方法 Revoke(ObjectPermissionSet, String, array<String[]) Revokes previously granted permissions from a grantee on the referenced columns.
公用方法 Revoke(ObjectPermissionSet, array<String[], array<String[]) Revokes previously granted permissions from a list of grantees on the referenced columns.
公用方法 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. (繼承自 IObjectPermission。)
公用方法 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.
公用方法 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.
公用方法 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. (繼承自 IObjectPermission。)
公用方法 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.
公用方法 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.

上層

備註

Thread Safety

此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。並非所有的執行個體成員都是安全執行緒。

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間