DatabaseReplicaState.AvailabilityGroupId DatabaseReplicaState.AvailabilityGroupId DatabaseReplicaState.AvailabilityGroupId Property

Definition

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

public:
 property Guid AvailabilityGroupId { Guid get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone)]
public Guid AvailabilityGroupId { get; }
Public ReadOnly Property AvailabilityGroupId As Guid
Property Value

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

Applies to