Partilhar via


Método View.Grant

Incluir membros protegidos
Incluir membros herdados

Grants the specified set of permissions to the specified grantees on the view.

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 the specified set of permissions to the specified grantee on the view.
Método público Grant(ObjectPermissionSet, array<String[]) Grants the specified set of permissions to the specified grantees on the view.
Método público Grant(ObjectPermissionSet, String, Boolean) Grants access to the specified permission and the ability to grant access to other uses for the specified grantee on the view.
Método público Grant(ObjectPermissionSet, String, array<String[]) Grants access to the specified permission on the specified columns for the specified grantee on the specified columns on the view.
Método público Grant(ObjectPermissionSet, array<String[], Boolean) Grants access to the specified permission and the ability to grant access to other uses for the specified grantees on the view.
Método público Grant(ObjectPermissionSet, array<String[], array<String[]) Grants the specified set of permissions to the grantees to the specified columns on the view.
Método público Grant(ObjectPermissionSet, String, Boolean, String) Grants the specified set of permissions to the grantee and the ability to grant the set of permissions to other users on the view under an assumed role.
Método público Grant(ObjectPermissionSet, String, array<String[], Boolean) Grants the specified permission to the grantee and the ability to grant the specified set of permissions to other users on the specified columns on the view.
Método público Grant(ObjectPermissionSet, array<String[], Boolean, String) Grants the specified set of permissions to the grantees and the ability to grant the set of permissions to other users on the view under an assumed role.
Método público Grant(ObjectPermissionSet, array<String[], array<String[], Boolean) Grants the specified set of permissions to the grantees and the ability to grant the set of permissions to other users on the specified columns on the view.
Método público Grant(ObjectPermissionSet, String, array<String[], Boolean, String) Grants the specified set of permissions to the grantee and the ability to grant the set of permissions to other users on the specified columns on the view under an assumed role.
Método público Grant(ObjectPermissionSet, array<String[], array<String[], Boolean, String) Grants the specified set of permissions to the grantees and the ability to grant the set of permissions to other users on the specified columns on the view under an assumed role.

Início

Consulte também

Referência

View Classe

Namespace Microsoft.SqlServer.Management.Smo