Propriedade do RDL DatabaseReplicaState.AvailabilityGroupId
Gets the identifier of the availability group to which the database belongs.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<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 da propriedade
Tipo: System.Guid
The identifier of the availability group to which the database belongs.