Freigeben über


AvailabilityGroup.Grant-Methode

Geschützte Member einschließen
Geerbte Member einschließen

Grants the specified set of permissions to the specified grantees on the availability group.

Das Element ist überladen. Um vollständige Informationen zu diesem Element zu erhalten, einschließlich Syntax, Verwendung und Beispielen, klicken Sie auf einen Namen in der Überladungsliste.

Überladungsliste

  Name Beschreibung
Öffentliche Methode Grant(ObjectPermissionSet, String) Grants the specified set of permissions to the specified grantee on the availability group.
Öffentliche Methode Grant(ObjectPermissionSet, array<String[]) Grants the specified set of permissions to the specified grantees on the availability group.
Öffentliche Methode 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 availability group.
Öffentliche Methode 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 availability group.
Öffentliche Methode Grant(ObjectPermissionSet, String, Boolean, String) Grants access to the specified set of permissions to the grantee and the ability to grant the set of permissions to other users on the availability group under an assumed role.
Öffentliche Methode Grant(ObjectPermissionSet, array<String[], Boolean, String) Grants access to the specified set of permissions to the grantees and the ability to grant the set of permissions to other users on the availability group under an assumed role.

Zum Anfang

Siehe auch

Verweis

AvailabilityGroup Klasse

Microsoft.SqlServer.Management.Smo-Namespace