ホーム › System.TaskScheduler › TASK_COMPATIBILITY
TASK_COMPATIBILITY
列挙型メンバー 7
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| TASK_COMPATIBILITY_AT | 0 | 0x0 | タスクは AT コマンドと互換性があります。 |
| TASK_COMPATIBILITY_V1 | 1 | 0x1 | タスクは Task Scheduler 1.0 と互換性があります。 |
| TASK_COMPATIBILITY_V2 | 2 | 0x2 | タスクは Task Scheduler 2.0 と互換性があります。 |
| TASK_COMPATIBILITY_V2_1 | 3 | 0x3 | |
| TASK_COMPATIBILITY_V2_2 | 4 | 0x4 | |
| TASK_COMPATIBILITY_V2_3 | 5 | 0x5 | |
| TASK_COMPATIBILITY_V2_4 | 6 | 0x6 |
公式ドキュメント
タスクが互換性を持つ Task Scheduler または AT コマンドのバージョンを定義します。
解説(Remarks)
Compatibility プロパティによって設定されるタスクの互換性は、Windows XP、Windows Server 2003、または Windows 2000 のコンピューターからタスクにアクセスまたは変更する必要がある場合にのみ TASK_COMPATIBILITY_V1 に設定してください。それ以外の場合は、タスクでより多くの機能を利用できるため、Task Scheduler 2.0 の互換性を使用することをお勧めします。
タスクの Compatibility プロパティを TASK_COMPATIBILITY_V2 に設定してタスクを登録した後は、そのタスクの Compatibility プロパティを TASK_COMPATIBILITY_V1 に変更することはできません。
出典・ライセンス: 上記「公式ドキュメント」の内容は 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 TASK_COMPATIBILITY : int {
TASK_COMPATIBILITY_AT = 0,
TASK_COMPATIBILITY_V1 = 1,
TASK_COMPATIBILITY_V2 = 2,
TASK_COMPATIBILITY_V2_1 = 3,
TASK_COMPATIBILITY_V2_2 = 4,
TASK_COMPATIBILITY_V2_3 = 5,
TASK_COMPATIBILITY_V2_4 = 6
} TASK_COMPATIBILITY;public enum TASK_COMPATIBILITY : int
{
TASK_COMPATIBILITY_AT = 0,
TASK_COMPATIBILITY_V1 = 1,
TASK_COMPATIBILITY_V2 = 2,
TASK_COMPATIBILITY_V2_1 = 3,
TASK_COMPATIBILITY_V2_2 = 4,
TASK_COMPATIBILITY_V2_3 = 5,
TASK_COMPATIBILITY_V2_4 = 6,
}Public Enum TASK_COMPATIBILITY As Integer
TASK_COMPATIBILITY_AT = 0
TASK_COMPATIBILITY_V1 = 1
TASK_COMPATIBILITY_V2 = 2
TASK_COMPATIBILITY_V2_1 = 3
TASK_COMPATIBILITY_V2_2 = 4
TASK_COMPATIBILITY_V2_3 = 5
TASK_COMPATIBILITY_V2_4 = 6
End Enumimport enum
class TASK_COMPATIBILITY(enum.IntEnum):
TASK_COMPATIBILITY_AT = 0
TASK_COMPATIBILITY_V1 = 1
TASK_COMPATIBILITY_V2 = 2
TASK_COMPATIBILITY_V2_1 = 3
TASK_COMPATIBILITY_V2_2 = 4
TASK_COMPATIBILITY_V2_3 = 5
TASK_COMPATIBILITY_V2_4 = 6// TASK_COMPATIBILITY
pub const TASK_COMPATIBILITY_AT: i32 = 0;
pub const TASK_COMPATIBILITY_V1: i32 = 1;
pub const TASK_COMPATIBILITY_V2: i32 = 2;
pub const TASK_COMPATIBILITY_V2_1: i32 = 3;
pub const TASK_COMPATIBILITY_V2_2: i32 = 4;
pub const TASK_COMPATIBILITY_V2_3: i32 = 5;
pub const TASK_COMPATIBILITY_V2_4: i32 = 6;// TASK_COMPATIBILITY
const (
TASK_COMPATIBILITY_AT int32 = 0
TASK_COMPATIBILITY_V1 int32 = 1
TASK_COMPATIBILITY_V2 int32 = 2
TASK_COMPATIBILITY_V2_1 int32 = 3
TASK_COMPATIBILITY_V2_2 int32 = 4
TASK_COMPATIBILITY_V2_3 int32 = 5
TASK_COMPATIBILITY_V2_4 int32 = 6
)const
TASK_COMPATIBILITY_AT = 0;
TASK_COMPATIBILITY_V1 = 1;
TASK_COMPATIBILITY_V2 = 2;
TASK_COMPATIBILITY_V2_1 = 3;
TASK_COMPATIBILITY_V2_2 = 4;
TASK_COMPATIBILITY_V2_3 = 5;
TASK_COMPATIBILITY_V2_4 = 6;// TASK_COMPATIBILITY
pub const TASK_COMPATIBILITY_AT: i32 = 0;
pub const TASK_COMPATIBILITY_V1: i32 = 1;
pub const TASK_COMPATIBILITY_V2: i32 = 2;
pub const TASK_COMPATIBILITY_V2_1: i32 = 3;
pub const TASK_COMPATIBILITY_V2_2: i32 = 4;
pub const TASK_COMPATIBILITY_V2_3: i32 = 5;
pub const TASK_COMPATIBILITY_V2_4: i32 = 6;const
TASK_COMPATIBILITY_AT* = 0
TASK_COMPATIBILITY_V1* = 1
TASK_COMPATIBILITY_V2* = 2
TASK_COMPATIBILITY_V2_1* = 3
TASK_COMPATIBILITY_V2_2* = 4
TASK_COMPATIBILITY_V2_3* = 5
TASK_COMPATIBILITY_V2_4* = 6enum TASK_COMPATIBILITY : int {
TASK_COMPATIBILITY_AT = 0,
TASK_COMPATIBILITY_V1 = 1,
TASK_COMPATIBILITY_V2 = 2,
TASK_COMPATIBILITY_V2_1 = 3,
TASK_COMPATIBILITY_V2_2 = 4,
TASK_COMPATIBILITY_V2_3 = 5,
TASK_COMPATIBILITY_V2_4 = 6,
}#define global TASK_COMPATIBILITY_AT 0x0
#define global TASK_COMPATIBILITY_V1 0x1
#define global TASK_COMPATIBILITY_V2 0x2
#define global TASK_COMPATIBILITY_V2_1 0x3
#define global TASK_COMPATIBILITY_V2_2 0x4
#define global TASK_COMPATIBILITY_V2_3 0x5
#define global TASK_COMPATIBILITY_V2_4 0x6