Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AvailabilityGroups Property
Collapse the table of content
Expand the table of content

Server.AvailabilityGroups Property

Gets the available groups in the server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
public AvailabilityGroupCollection AvailabilityGroups { get; }

Property Value

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

Community Additions

© 2015 Microsoft