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.

请参阅

参考

AvailabilityGroup 类

Microsoft.SqlServer.Management.Smo 命名空间