Partager via


Méthode IColumnPermission.Grant

Inclure les membres protégés
Inclure les membres hérités

Grants access to the specified permission for the specified grantees on the referenced columns.

Ce membre est surchargé. Pour plus d'informations sur ce membre, notamment sur la syntaxe et l'utilisation, et pour visualiser des exemples, cliquez sur un nom dans la liste de surcharge.

Liste de surcharge

  Nom Description
Méthode publique Grant(ObjectPermissionSet, String) Grants access to the specified permission for the specified grantee on the SMO object. (hérité de IObjectPermission.)
Méthode publique Grant(ObjectPermissionSet, array<String[]) Grants access to the specified permission for the specified grantees on the SMO object. (hérité de IObjectPermission.)
Méthode publique Grant(ObjectPermissionSet, String, array<String[]) Grants access to the specified permission for the specified grantee on the referenced list of columns.
Méthode publique Grant(ObjectPermissionSet, array<String[], array<String[]) Grants access to the specified permission for the specified grantees on the stored procedure.
Méthode publique 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. (hérité de IObjectPermission.)
Méthode publique 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. (hérité de IObjectPermission.)
Méthode publique 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.
Méthode publique 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.
Méthode publique 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. (hérité de IObjectPermission.)
Méthode publique 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. (hérité de IObjectPermission.)
Méthode publique 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.
Méthode publique 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.

Haut de la page

Voir aussi

Référence

IColumnPermission Interface

Espace de noms Microsoft.SqlServer.Management.Smo