Свойство 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.