Share via


DatabaseReplicaState.AvailabilityDateabaseId Property

Gets the identifier of the database within the availability group.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property AvailabilityDateabaseId As Guid 
    Get
'Usage
Dim instance As DatabaseReplicaState 
Dim value As Guid 

value = instance.AvailabilityDateabaseId
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public Guid AvailabilityDateabaseId { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property Guid AvailabilityDateabaseId {
    Guid get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member AvailabilityDateabaseId : Guid
function get AvailabilityDateabaseId () : Guid

Property Value

Type: System.Guid
The identifier of the database within the availability group.

See Also

Reference

DatabaseReplicaState Class

Microsoft.SqlServer.Management.Smo Namespace