Compartilhar via


Método IObjectPermission.Grant

Incluir membros protegidos
Incluir membros herdados

Grants access to the specified permission for the specified grantees on the SMO object.

Esse membro está sobrecarregado. Para obter informações mais completas sobre esse membro, incluindo sintaxe, uso e exemplos, clique em um nome na lista de sobrecarga.

Lista de sobrecargas

  Nome Descrição
Método público Grant(ObjectPermissionSet, String) Grants access to the specified permission for the specified grantee on the SMO object.
Método público Grant(ObjectPermissionSet, array<String[]) Grants access to the specified permission for the specified grantees on the SMO object.
Método público 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.
Método público 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.
Método público 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.
Método público 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.

Início

Consulte também

Referência

IObjectPermission Interface

Namespace Microsoft.SqlServer.Management.Smo