Export (0) Print
Expand All

AvailabilityGroup.EnumReplicaClusterNodes Method

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public DataTable EnumReplicaClusterNodes()

Return Value

Type: 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).

Community Additions

ADD
Show:
© 2014 Microsoft