다음을 통해 공유


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.

참고 항목

참조

DatabaseReplicaState 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스