AvailabilityGroupListener.AvailabilityGroupListenerIPAddresses Property

Gets the collection of replicas participating in the availability group.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.OneToAny,  _
    GetType(AvailabilityGroupListenerIPAddress))> _
Public ReadOnly Property AvailabilityGroupListenerIPAddresses As AvailabilityGroupListenerIPAddressCollection 
    Get
'Usage
Dim instance As AvailabilityGroupListener 
Dim value As AvailabilityGroupListenerIPAddressCollection 

value = instance.AvailabilityGroupListenerIPAddresses
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.OneToAny, 
    typeof(AvailabilityGroupListenerIPAddress))]
public AvailabilityGroupListenerIPAddressCollection AvailabilityGroupListenerIPAddresses { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::OneToAny, 
    typeof(AvailabilityGroupListenerIPAddress))]
public:
property AvailabilityGroupListenerIPAddressCollection^ AvailabilityGroupListenerIPAddresses {
    AvailabilityGroupListenerIPAddressCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.OneToAny, 
    typeof(AvailabilityGroupListenerIPAddress))>]
member AvailabilityGroupListenerIPAddresses : AvailabilityGroupListenerIPAddressCollection
function get AvailabilityGroupListenerIPAddresses () : AvailabilityGroupListenerIPAddressCollection

Property Value

Type: Microsoft.SqlServer.Management.Smo.AvailabilityGroupListenerIPAddressCollection
The collection of replicas participating in the availability group.

See Also

Reference

AvailabilityGroupListener Class

Microsoft.SqlServer.Management.Smo Namespace