TechNet
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: System.Guid

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

Return to top
Show:
© 2016 Microsoft