ホーム › System.Wmi › MI_SubscriptionDeliveryType
MI_SubscriptionDeliveryType
列挙型メンバー 2
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| MI_SubscriptionDeliveryType_Pull | 1 | 0x1 | サブスクリプションにプル配信が必要であることを示します。サーバーからインジケーションをプルする方式は、ファイアウォールとの親和性が高くなります。ただし、プッシュ配信方式よりも低速になる場合があります。 |
| MI_SubscriptionDeliveryType_Push | 2 | 0x2 | サブスクリプションにプッシュ配信が必要であることを示します。プッシュは、イベントが利用可能になった時点でサーバーがクライアントに接続してイベントを配信することを示します。この方式では正しいポートでファイアウォールが動作している必要があり、またセキュリティコンテキストを慎重に管理する必要があります。 |
公式ドキュメント
プッシュ型とプル型のサブスクリプション配信方式を区別します。これは DCOM プロトコルの使用時にはサポートされません。
出典・ライセンス: 上記「公式ドキュメント」の内容は 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 MI_SubscriptionDeliveryType : int {
MI_SubscriptionDeliveryType_Pull = 1,
MI_SubscriptionDeliveryType_Push = 2
} MI_SubscriptionDeliveryType;public enum MI_SubscriptionDeliveryType : int
{
MI_SubscriptionDeliveryType_Pull = 1,
MI_SubscriptionDeliveryType_Push = 2,
}Public Enum MI_SubscriptionDeliveryType As Integer
MI_SubscriptionDeliveryType_Pull = 1
MI_SubscriptionDeliveryType_Push = 2
End Enumimport enum
class MI_SubscriptionDeliveryType(enum.IntEnum):
MI_SubscriptionDeliveryType_Pull = 1
MI_SubscriptionDeliveryType_Push = 2// MI_SubscriptionDeliveryType
pub const MI_SubscriptionDeliveryType_Pull: i32 = 1;
pub const MI_SubscriptionDeliveryType_Push: i32 = 2;// MI_SubscriptionDeliveryType
const (
MI_SubscriptionDeliveryType_Pull int32 = 1
MI_SubscriptionDeliveryType_Push int32 = 2
)const
MI_SubscriptionDeliveryType_Pull = 1;
MI_SubscriptionDeliveryType_Push = 2;// MI_SubscriptionDeliveryType
pub const MI_SubscriptionDeliveryType_Pull: i32 = 1;
pub const MI_SubscriptionDeliveryType_Push: i32 = 2;const
MI_SubscriptionDeliveryType_Pull* = 1
MI_SubscriptionDeliveryType_Push* = 2enum MI_SubscriptionDeliveryType : int {
MI_SubscriptionDeliveryType_Pull = 1,
MI_SubscriptionDeliveryType_Push = 2,
}#define global MI_SubscriptionDeliveryType_Pull 0x1
#define global MI_SubscriptionDeliveryType_Push 0x2