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)

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

Property Value

Type: System::Guid

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

Return to top
Show: