Метод 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