Returns a DataTable with information about the cluster configuration of the availability group.
public DataTable EnumReplicaClusterNodes()
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).
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback