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