AvailabilityReplica Constructor (AvailabilityGroup, String)

AvailabilityReplica Constructor (AvailabilityGroup, String)

 

Initializes a new instance of the AvailabilityReplica class on the specified availability group and with the specified name.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public AvailabilityReplica(
	AvailabilityGroup availabilityGroup,
	string name
)

Parameters

availabilityGroup
Type: Microsoft.SqlServer.Management.Smo.AvailabilityGroup

The specified availability group in which to create the availability replica.

name
Type: System.String

The specified name of the availability replica to be created.

Return to top
Show:
© 2016 Microsoft