ホーム › Networking.Clustering › NODE_CLUSTER_STATE
NODE_CLUSTER_STATE
列挙型メンバー 4
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| ClusterStateNotInstalled | 0 | 0x0 | クラスター サービスがノードにインストールされていません。 |
| ClusterStateNotConfigured | 1 | 0x1 | クラスター サービスはノードにインストールされていますが、まだ構成されていません。 |
| ClusterStateNotRunning | 3 | 0x3 | クラスター サービスはノードにインストールされ、構成されていますが、現在実行されていません。 |
| ClusterStateRunning | 19 | 0x13 | クラスター サービスはノードにインストールされ、構成され、実行されています。 |
公式ドキュメント
クラスターの状態を示します。 GetNodeClusterState 関数は、この 列挙型を使用します。
解説(Remarks)
次の定数が ClusAPI.h で定義されています。
| 定数 | 値 |
|---|---|
| CLUSTER_INSTALLED | 0x00000001 |
| CLUSTER_CONFIGURED | 0x00000002 |
| CLUSTER_RUNNING | 0x00000010 |
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum NODE_CLUSTER_STATE : int {
ClusterStateNotInstalled = 0,
ClusterStateNotConfigured = 1,
ClusterStateNotRunning = 3,
ClusterStateRunning = 19
} NODE_CLUSTER_STATE;public enum NODE_CLUSTER_STATE : int
{
ClusterStateNotInstalled = 0,
ClusterStateNotConfigured = 1,
ClusterStateNotRunning = 3,
ClusterStateRunning = 19,
}Public Enum NODE_CLUSTER_STATE As Integer
ClusterStateNotInstalled = 0
ClusterStateNotConfigured = 1
ClusterStateNotRunning = 3
ClusterStateRunning = 19
End Enumimport enum
class NODE_CLUSTER_STATE(enum.IntEnum):
ClusterStateNotInstalled = 0
ClusterStateNotConfigured = 1
ClusterStateNotRunning = 3
ClusterStateRunning = 19// NODE_CLUSTER_STATE
pub const ClusterStateNotInstalled: i32 = 0;
pub const ClusterStateNotConfigured: i32 = 1;
pub const ClusterStateNotRunning: i32 = 3;
pub const ClusterStateRunning: i32 = 19;// NODE_CLUSTER_STATE
const (
ClusterStateNotInstalled int32 = 0
ClusterStateNotConfigured int32 = 1
ClusterStateNotRunning int32 = 3
ClusterStateRunning int32 = 19
)const
ClusterStateNotInstalled = 0;
ClusterStateNotConfigured = 1;
ClusterStateNotRunning = 3;
ClusterStateRunning = 19;// NODE_CLUSTER_STATE
pub const ClusterStateNotInstalled: i32 = 0;
pub const ClusterStateNotConfigured: i32 = 1;
pub const ClusterStateNotRunning: i32 = 3;
pub const ClusterStateRunning: i32 = 19;const
ClusterStateNotInstalled* = 0
ClusterStateNotConfigured* = 1
ClusterStateNotRunning* = 3
ClusterStateRunning* = 19enum NODE_CLUSTER_STATE : int {
ClusterStateNotInstalled = 0,
ClusterStateNotConfigured = 1,
ClusterStateNotRunning = 3,
ClusterStateRunning = 19,
}#define global ClusterStateNotInstalled 0x0
#define global ClusterStateNotConfigured 0x1
#define global ClusterStateNotRunning 0x3
#define global ClusterStateRunning 0x13