Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AvailabilityReplica Constructor

 

Applies To: SQL Server 2016 Preview

Initializes a new instance of the AvailabilityReplica class.

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

NameDescription
System_CAPS_pubmethodAvailabilityReplica()

Initializes a new instance of the AvailabilityReplica class with specified default values.

System_CAPS_pubmethodAvailabilityReplica(AvailabilityGroup, String)

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

Return to top

AvailabilityReplica Constructor ()

Initializes a new instance of the AvailabilityReplica class with specified default values.

public AvailabilityReplica()
Return to top

AvailabilityReplica Constructor (AvailabilityGroup, String)

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

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:
© 2015 Microsoft