Server.AvailabilityGroups 属性

Gets the available groups in the server.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(AvailabilityGroup))> _
Public ReadOnly Property AvailabilityGroups As AvailabilityGroupCollection 
    Get
用法
Dim instance As Server 
Dim value As AvailabilityGroupCollection 

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

属性值

类型:Microsoft.SqlServer.Management.Smo.AvailabilityGroupCollection
The available groups in the server.

请参阅

参考

Server 类

Microsoft.SqlServer.Management.Smo 命名空间