Server.GrantAvailabilityGroupCreateDatabasePrivilege(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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