ホーム › Networking.ActiveDirectory › DSROLE_SERVER_STATE
DSROLE_SERVER_STATE
列挙型メンバー 3
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| DsRoleServerUnknown | 0 | 0x0 | サーバーの役割は不明です。 |
| DsRoleServerPrimary | 1 | 0x1 | サーバーはプライマリ ドメイン コントローラーであったか、現在プライマリ ドメイン コントローラーです。 |
| DsRoleServerBackup | 2 | 0x2 | サーバーはバックアップ ドメイン コントローラーであったか、現在バックアップ ドメイン コントローラーです。 |
公式ドキュメント
DSROLE_SERVER_STATE 列挙型は、DSROLE_UPGRADE_STATUS_INFO 構造体と共に使用され、サーバーの役割を示します。
出典・ライセンス: 上記「公式ドキュメント」の内容は 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 DSROLE_SERVER_STATE : int {
DsRoleServerUnknown = 0,
DsRoleServerPrimary = 1,
DsRoleServerBackup = 2
} DSROLE_SERVER_STATE;public enum DSROLE_SERVER_STATE : int
{
DsRoleServerUnknown = 0,
DsRoleServerPrimary = 1,
DsRoleServerBackup = 2,
}Public Enum DSROLE_SERVER_STATE As Integer
DsRoleServerUnknown = 0
DsRoleServerPrimary = 1
DsRoleServerBackup = 2
End Enumimport enum
class DSROLE_SERVER_STATE(enum.IntEnum):
DsRoleServerUnknown = 0
DsRoleServerPrimary = 1
DsRoleServerBackup = 2// DSROLE_SERVER_STATE
pub const DsRoleServerUnknown: i32 = 0;
pub const DsRoleServerPrimary: i32 = 1;
pub const DsRoleServerBackup: i32 = 2;// DSROLE_SERVER_STATE
const (
DsRoleServerUnknown int32 = 0
DsRoleServerPrimary int32 = 1
DsRoleServerBackup int32 = 2
)const
DsRoleServerUnknown = 0;
DsRoleServerPrimary = 1;
DsRoleServerBackup = 2;// DSROLE_SERVER_STATE
pub const DsRoleServerUnknown: i32 = 0;
pub const DsRoleServerPrimary: i32 = 1;
pub const DsRoleServerBackup: i32 = 2;const
DsRoleServerUnknown* = 0
DsRoleServerPrimary* = 1
DsRoleServerBackup* = 2enum DSROLE_SERVER_STATE : int {
DsRoleServerUnknown = 0,
DsRoleServerPrimary = 1,
DsRoleServerBackup = 2,
}#define global DsRoleServerUnknown 0x0
#define global DsRoleServerPrimary 0x1
#define global DsRoleServerBackup 0x2