Свойство DatabaseReplicaState.AvailabilityGroupId
Gets the identifier of the availability group to which the database belongs.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property AvailabilityGroupId As Guid
Get
'Применение
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
Значение свойства
Тип: System.Guid
The identifier of the availability group to which the database belongs.