共用方式為


Server.EnumClusterMembersState 方法

Enumerates the current state of the Windows cluster members of which the instance is part of.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function EnumClusterMembersState As DataTable
'用途
Dim instance As Server 
Dim returnValue As DataTable 

returnValue = instance.EnumClusterMembersState()
public DataTable EnumClusterMembersState()
public:
DataTable^ EnumClusterMembersState()
member EnumClusterMembersState : unit -> DataTable
public function EnumClusterMembersState() : DataTable

傳回值

型別:System.Data.DataTable
A list of state of the cluster members.

請參閱

參考

Server 類別

Microsoft.SqlServer.Management.Smo 命名空間