Freigeben über


DatabaseReplicaState.AvailabilityDateabaseId-Eigenschaft

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

Eigenschaftswert

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

Siehe auch

Verweis

DatabaseReplicaState Klasse

Microsoft.SqlServer.Management.Smo-Namespace