ホーム › System.UpdateAgent › AddServiceFlag
AddServiceFlag
列挙型メンバー 3
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| asfAllowPendingRegistration | 1 | 0x1 | 更新エージェントが、次回オンラインで更新プログラムをスキャンする際に、後からサービス登録を処理することを許可します。 |
| asfAllowOnlineRegistration | 2 | 0x2 | ネットワーク接続が利用可能な場合に、更新エージェントがサービス登録を直ちに処理することを許可します。 |
| asfRegisterServiceWithAU | 4 | 0x4 | サービスの追加時に、そのサービスを自動更新に登録します。 |
公式ドキュメント
IUpdateServiceManager2 インターフェイスがサービス登録要求を処理する際の方法を定義します。
解説(Remarks)
flags パラメーターに AddServiceFlag 値のさまざまな組み合わせを指定した場合の IUpdateServiceManager2::AddService2 の動作については、IUpdateServiceManager2::AddService2 の「解説」セクションを参照してください。
出典・ライセンス: 上記「公式ドキュメント」の内容は 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 AddServiceFlag : int {
asfAllowPendingRegistration = 1,
asfAllowOnlineRegistration = 2,
asfRegisterServiceWithAU = 4
} AddServiceFlag;public enum AddServiceFlag : int
{
asfAllowPendingRegistration = 1,
asfAllowOnlineRegistration = 2,
asfRegisterServiceWithAU = 4,
}Public Enum AddServiceFlag As Integer
asfAllowPendingRegistration = 1
asfAllowOnlineRegistration = 2
asfRegisterServiceWithAU = 4
End Enumimport enum
class AddServiceFlag(enum.IntEnum):
asfAllowPendingRegistration = 1
asfAllowOnlineRegistration = 2
asfRegisterServiceWithAU = 4// AddServiceFlag
pub const asfAllowPendingRegistration: i32 = 1;
pub const asfAllowOnlineRegistration: i32 = 2;
pub const asfRegisterServiceWithAU: i32 = 4;// AddServiceFlag
const (
asfAllowPendingRegistration int32 = 1
asfAllowOnlineRegistration int32 = 2
asfRegisterServiceWithAU int32 = 4
)const
asfAllowPendingRegistration = 1;
asfAllowOnlineRegistration = 2;
asfRegisterServiceWithAU = 4;// AddServiceFlag
pub const asfAllowPendingRegistration: i32 = 1;
pub const asfAllowOnlineRegistration: i32 = 2;
pub const asfRegisterServiceWithAU: i32 = 4;const
asfAllowPendingRegistration* = 1
asfAllowOnlineRegistration* = 2
asfRegisterServiceWithAU* = 4enum AddServiceFlag : int {
asfAllowPendingRegistration = 1,
asfAllowOnlineRegistration = 2,
asfRegisterServiceWithAU = 4,
}#define global asfAllowPendingRegistration 0x1
#define global asfAllowOnlineRegistration 0x2
#define global asfRegisterServiceWithAU 0x4