Condividi tramite


Proprietà AvailabilityGroup.AvailabilityGroupListeners

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(AvailabilityGroupListener))> _
Public ReadOnly Property AvailabilityGroupListeners As AvailabilityGroupListenerCollection 
    Get
'Utilizzo
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

Valore proprietà

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

Vedere anche

Riferimento

AvailabilityGroup Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo