Partilhar via


Propriedade do RDL AvailabilityGroup.AvailabilityGroupListeners

Gets or sets the collection of replicas participating in the availability group.

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

Sintaxe

'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(AvailabilityGroupListener))> _
Public ReadOnly Property AvailabilityGroupListeners As AvailabilityGroupListenerCollection 
    Get
'Uso
Dim instance As AvailabilityGroup 
Dim value As AvailabilityGroupListenerCollection 

value = instance.AvailabilityGroupListeners
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(AvailabilityGroupListener))]
public AvailabilityGroupListenerCollection AvailabilityGroupListeners { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(AvailabilityGroupListener))]
public:
property AvailabilityGroupListenerCollection^ AvailabilityGroupListeners {
    AvailabilityGroupListenerCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(AvailabilityGroupListener))>]
member AvailabilityGroupListeners : AvailabilityGroupListenerCollection
function get AvailabilityGroupListeners () : AvailabilityGroupListenerCollection

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.AvailabilityGroupListenerCollection
The collection of replicas participating in the availability group.

Consulte também

Referência

AvailabilityGroup Classe

Namespace Microsoft.SqlServer.Management.Smo