Win32 API 日本語リファレンス
ホームSystem.EventCollector › EC_SUBSCRIPTION_CONFIGURATION_MODE

EC_SUBSCRIPTION_CONFIGURATION_MODE

列挙型
基底型i4

メンバー 4

名前10進16進説明
EcConfigurationModeNormal00x0このモードは、管理者がイベントを確実に配信する必要があり、最小限の構成でサブスクリプションを動作させたい場合や、ネットワーク使用量が問題にならない場合に使用します。このモードは、サブスクリプションの既定の配信モードをプル型サブスクリプションに設定します。
EcConfigurationModeCustom10x1このサブスクリプションモードでは、DeliveryMode プロパティ、DeliveryMaxItems プロパティ、DeliveryMaxLatencyTime、および HeartBeatInterval プロパティにカスタム値を指定できます。
EcConfigurationModeMinLatency20x2このモードは、イベントの発生と同時に最小限の遅延で送信するようにサブスクリプションを構成するため、アラートや重大なイベントに使用します。このモードは、サブスクリプションの既定の配信モードをプッシュ型サブスクリプションに設定します。
EcConfigurationModeMinBandwidth30x3このモードは、ネットワークの活動を制御できる場合や、ネットワークの使用にコストがかかる場合に使用します。このモードは、サブスクリプションの既定の配信モードをプッシュ型サブスクリプションに設定します。

公式ドキュメント

EC_SUBSCRIPTION_CONFIGURATION_MODE 列挙型は、サブスクリプションの既定の設定を変更するさまざまな構成モードを指定します。各構成モードは、異なるシナリオ向けの既定の設定を定義するために使用され、サブスクリプションの配信モードと既定のプロパティ値を設定します。

解説(Remarks)

各構成モードの設定は、次の場所にある Event Collector のレジストリで確認できます:

HKEY_LOCAL_MACHINE
   SOFTWARE
      Microsoft
         Windows
            CurrentVersion
               EventCollector
                  ConfigurationModes

サブスクリプションの配信モードおよびプロパティの詳細については、EC_SUBSCRIPTION_DELIVERY_MODEEC_SUBSCRIPTION_PROPERTY_ID を参照してください。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
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 Enum
import 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* = 3
enum 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