次の方法で共有


Server.GrantAvailabilityGroupCreateDatabasePrivilege(String) Method

Definition

This method is called on a secondary replica that has joined the availability group to grant availability group create database privilege for automatic seeding to work

public void GrantAvailabilityGroupCreateDatabasePrivilege (string availabilityGroupName);
member this.GrantAvailabilityGroupCreateDatabasePrivilege : string -> unit
Public Sub GrantAvailabilityGroupCreateDatabasePrivilege (availabilityGroupName As String)

Parameters

availabilityGroupName
String

Availability group name

Applies to