AvailabilityGroup.AvailabilityGroupListeners 屬性
Gets or sets the collection of replicas participating in the availability group.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(AvailabilityGroupListener))> _
Public ReadOnly Property AvailabilityGroupListeners As AvailabilityGroupListenerCollection
Get
'用途
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
屬性值
型別:Microsoft.SqlServer.Management.Smo.AvailabilityGroupListenerCollection
The collection of replicas participating in the availability group.