AvailabilityGroup.PrimaryReplicaServerName 속성

Gets the collection for the primary replica server name of the availability group.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property PrimaryReplicaServerName As String 
    Get
‘사용 방법
Dim instance As AvailabilityGroup 
Dim value As String 

value = instance.PrimaryReplicaServerName
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string PrimaryReplicaServerName { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ PrimaryReplicaServerName {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member PrimaryReplicaServerName : string
function get PrimaryReplicaServerName () : String

속성 값

유형: System.String
The collection for the primary replica server name of the availability group.

참고 항목

참조

AvailabilityGroup 클래스

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