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.