다음을 통해 공유


AvailabilityGroup.EnumReplicaClusterNodes 메서드

Returns a DataTable with information about the cluster configuration of the availability group.

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

구문

‘선언
Public Function EnumReplicaClusterNodes As DataTable
‘사용 방법
Dim instance As AvailabilityGroup 
Dim returnValue As DataTable 

returnValue = instance.EnumReplicaClusterNodes()
public DataTable EnumReplicaClusterNodes()
public:
DataTable^ EnumReplicaClusterNodes()
member EnumReplicaClusterNodes : unit -> DataTable
public function EnumReplicaClusterNodes() : DataTable

반환 값

유형: System.Data.DataTable
A DataTable with information about the cluster configuration of the availability group.

주의

For each replica, a row is present for each node that hosts the replica. A replica can be hosted by multiple nodes if the replica is hosted on an FCI. The schema of this table is:

ReplicaName (sysname) | NodeName (sysname) | MemberType (tinyint) | MemberState (tinyint) | NumberOfQuorumVotes (int).

참고 항목

참조

AvailabilityGroup 클래스

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