AvailabilityGroupListener AvailabilityGroupListener AvailabilityGroupListener Constructors

Definition

Overloads

AvailabilityGroupListener() AvailabilityGroupListener() AvailabilityGroupListener()

Initializes a new instance of the AvailabilityGroupListener class.

AvailabilityGroupListener(AvailabilityGroup, String) AvailabilityGroupListener(AvailabilityGroup, String)

Initializes a new instance of the AvailabilityGroupListener class using the specified availability group and name.

AvailabilityGroupListener() AvailabilityGroupListener() AvailabilityGroupListener()

Initializes a new instance of the AvailabilityGroupListener class.

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

AvailabilityGroupListener(AvailabilityGroup, String) AvailabilityGroupListener(AvailabilityGroup, String)

Initializes a new instance of the AvailabilityGroupListener class using the specified availability group and name.

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

The availability group.

name
String String String

The object name.

Applies to