DatabaseReplicaState.AvailabilityReplicaServerName 屬性
Gets the server name of the availability replica.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<SfcKeyAttribute()> _
Public ReadOnly Property AvailabilityReplicaServerName As String
Get
'用途
Dim instance As DatabaseReplicaState
Dim value As String
value = instance.AvailabilityReplicaServerName
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
[SfcKeyAttribute()]
public string AvailabilityReplicaServerName { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
[SfcKeyAttribute()]
public:
property String^ AvailabilityReplicaServerName {
String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
[<SfcKeyAttribute()>]
member AvailabilityReplicaServerName : string
function get AvailabilityReplicaServerName () : String
屬性值
型別:System.String
The server name of the availability replica.