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.