AvailabilityGroupListener Constructor (AvailabilityGroup, String)

 

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

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

public AvailabilityGroupListener(
	AvailabilityGroup availabilityGroup,
	string name
)

Parameters

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

The availability group.

name
Type: System.String

The object name.

Return to top
Show: