Compartir a través de


DatabaseReplicaState.AvailabilityReplicaId Propiedad

Gets the identifier of the availability replica within the availability group.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property AvailabilityReplicaId As Guid 
    Get
'Uso
Dim instance As DatabaseReplicaState 
Dim value As Guid 

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

Valor de la propiedad

Tipo: System.Guid
The identifier of the availability replica within the availability group.

Vea también

Referencia

DatabaseReplicaState Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo