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