ホーム › System.EventCollector › EC_SUBSCRIPTION_CONFIGURATION_MODE
EC_SUBSCRIPTION_CONFIGURATION_MODE
列挙型メンバー 4
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| EcConfigurationModeNormal | 0 | 0x0 | このモードは、管理者がイベントを確実に配信する必要があり、最小限の構成でサブスクリプションを動作させたい場合や、ネットワーク使用量が問題にならない場合に使用します。このモードは、サブスクリプションの既定の配信モードをプル型サブスクリプションに設定します。 |
| EcConfigurationModeCustom | 1 | 0x1 | このサブスクリプションモードでは、DeliveryMode プロパティ、DeliveryMaxItems プロパティ、DeliveryMaxLatencyTime、および HeartBeatInterval プロパティにカスタム値を指定できます。 |
| EcConfigurationModeMinLatency | 2 | 0x2 | このモードは、イベントの発生と同時に最小限の遅延で送信するようにサブスクリプションを構成するため、アラートや重大なイベントに使用します。このモードは、サブスクリプションの既定の配信モードをプッシュ型サブスクリプションに設定します。 |
| EcConfigurationModeMinBandwidth | 3 | 0x3 | このモードは、ネットワークの活動を制御できる場合や、ネットワークの使用にコストがかかる場合に使用します。このモードは、サブスクリプションの既定の配信モードをプッシュ型サブスクリプションに設定します。 |
公式ドキュメント
EC_SUBSCRIPTION_CONFIGURATION_MODE 列挙型は、サブスクリプションの既定の設定を変更するさまざまな構成モードを指定します。各構成モードは、異なるシナリオ向けの既定の設定を定義するために使用され、サブスクリプションの配信モードと既定のプロパティ値を設定します。
解説(Remarks)
各構成モードの設定は、次の場所にある Event Collector のレジストリで確認できます:
HKEY_LOCAL_MACHINE
SOFTWARE
Microsoft
Windows
CurrentVersion
EventCollector
ConfigurationModes
サブスクリプションの配信モードおよびプロパティの詳細については、EC_SUBSCRIPTION_DELIVERY_MODE と EC_SUBSCRIPTION_PROPERTY_ID を参照してください。
出典・ライセンス: 上記「公式ドキュメント」の内容は 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 EC_SUBSCRIPTION_CONFIGURATION_MODE : int {
EcConfigurationModeNormal = 0,
EcConfigurationModeCustom = 1,
EcConfigurationModeMinLatency = 2,
EcConfigurationModeMinBandwidth = 3
} EC_SUBSCRIPTION_CONFIGURATION_MODE;public enum EC_SUBSCRIPTION_CONFIGURATION_MODE : int
{
EcConfigurationModeNormal = 0,
EcConfigurationModeCustom = 1,
EcConfigurationModeMinLatency = 2,
EcConfigurationModeMinBandwidth = 3,
}Public Enum EC_SUBSCRIPTION_CONFIGURATION_MODE As Integer
EcConfigurationModeNormal = 0
EcConfigurationModeCustom = 1
EcConfigurationModeMinLatency = 2
EcConfigurationModeMinBandwidth = 3
End Enumimport enum
class EC_SUBSCRIPTION_CONFIGURATION_MODE(enum.IntEnum):
EcConfigurationModeNormal = 0
EcConfigurationModeCustom = 1
EcConfigurationModeMinLatency = 2
EcConfigurationModeMinBandwidth = 3// EC_SUBSCRIPTION_CONFIGURATION_MODE
pub const EcConfigurationModeNormal: i32 = 0;
pub const EcConfigurationModeCustom: i32 = 1;
pub const EcConfigurationModeMinLatency: i32 = 2;
pub const EcConfigurationModeMinBandwidth: i32 = 3;// EC_SUBSCRIPTION_CONFIGURATION_MODE
const (
EcConfigurationModeNormal int32 = 0
EcConfigurationModeCustom int32 = 1
EcConfigurationModeMinLatency int32 = 2
EcConfigurationModeMinBandwidth int32 = 3
)const
EcConfigurationModeNormal = 0;
EcConfigurationModeCustom = 1;
EcConfigurationModeMinLatency = 2;
EcConfigurationModeMinBandwidth = 3;// EC_SUBSCRIPTION_CONFIGURATION_MODE
pub const EcConfigurationModeNormal: i32 = 0;
pub const EcConfigurationModeCustom: i32 = 1;
pub const EcConfigurationModeMinLatency: i32 = 2;
pub const EcConfigurationModeMinBandwidth: i32 = 3;const
EcConfigurationModeNormal* = 0
EcConfigurationModeCustom* = 1
EcConfigurationModeMinLatency* = 2
EcConfigurationModeMinBandwidth* = 3enum EC_SUBSCRIPTION_CONFIGURATION_MODE : int {
EcConfigurationModeNormal = 0,
EcConfigurationModeCustom = 1,
EcConfigurationModeMinLatency = 2,
EcConfigurationModeMinBandwidth = 3,
}#define global EcConfigurationModeNormal 0x0
#define global EcConfigurationModeCustom 0x1
#define global EcConfigurationModeMinLatency 0x2
#define global EcConfigurationModeMinBandwidth 0x3