AvailabilityReplica AvailabilityReplica AvailabilityReplica Constructors

Definition

Overloads

AvailabilityReplica() AvailabilityReplica() AvailabilityReplica()

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

AvailabilityReplica(AvailabilityGroup, String) AvailabilityReplica(AvailabilityGroup, String)

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

AvailabilityReplica() AvailabilityReplica() AvailabilityReplica()

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

public:
 AvailabilityReplica();
public AvailabilityReplica ();
Public Sub New ()

AvailabilityReplica(AvailabilityGroup, String) AvailabilityReplica(AvailabilityGroup, String)

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

public:
 AvailabilityReplica(Microsoft::SqlServer::Management::Smo::AvailabilityGroup ^ availabilityGroup, System::String ^ name);
public AvailabilityReplica (Microsoft.SqlServer.Management.Smo.AvailabilityGroup availabilityGroup, string name);
Parameters
availabilityGroup
AvailabilityGroup AvailabilityGroup AvailabilityGroup

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

name
String String String

The specified name of the availability replica to be created.

Applies to