Proprietà DatabaseReplicaState.AvailabilityReplicaServerName
Gets the server name of the availability replica.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<SfcKeyAttribute()> _
Public ReadOnly Property AvailabilityReplicaServerName As String
Get
'Utilizzo
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
Valore proprietà
Tipo: System.String
The server name of the availability replica.