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 命名空间