Export (0) Print
Expand All

DatabaseReplicaState.AvailabilityGroupId Property

Gets the identifier of the availability group to which the database belongs.

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

[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public Guid AvailabilityGroupId { get; }

Property Value

Type: Guid
The identifier of the availability group to which the database belongs.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft