Compartir a través de


DatabaseReplicaState.AvailabilityGroupId Propiedad

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

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 AvailabilityGroupId As Guid 
    Get
'Uso
Dim instance As DatabaseReplicaState 
Dim value As Guid 

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

Valor de la propiedad

Tipo: System.Guid
The identifier of the availability group to which the database belongs.

Vea también

Referencia

DatabaseReplicaState Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo