Server.AvailabilityGroups プロパティ
サーバーの可用性グループを取得します。
名前空間: 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
サーバーの可用性グループです。