Export (0) Print
Expand All

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: String
The specified name of the availability replica to be created.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft