AvailabilityGroupListenerConfiguration Class

Definition

The AG Listener Configuration Data This object contains information for the Listenner of an AG

C#
public class AvailabilityGroupListenerConfiguration
Inheritance
AvailabilityGroupListenerConfiguration

Constructors

AvailabilityGroupListenerConfiguration()

the base ctor sets all defualt value for components

AvailabilityGroupListenerConfiguration(AvailabilityGroupListener)

Constructor to use in case of existing Availability Group

Properties

DhcpSubnetConfigurations

The DHCP IP Subnet data We can have only one Dhcp subnet data

ListenerName

Listener Name

ListenerPortNumber

the AG Listener Port Number

NetworkMode

the listener Network Mode

StaticIpSubnetConfigurations

Gets the static ip Subnet data An availability group listener can have more than one static ip-addresses

SubnetConfigurations

Gets the list of all subnets

Methods

AddSubnetConfiguration(AvailabilityGroupListenerSubnet)

Adds a subnet configuration to the data model If there is already one subnet with dhcp, adding another dhcp subnet configuration is not allowed.

Applies to

Proizvod Verzije
Microsoft.SqlServer.SqlManagementObjects 160.2004021.0