Windows Dev Center

EC_SUBSCRIPTION_TYPE enumeration

The EC_SUBSCRIPTION_TYPE enumeration specifies the type of subscription to use (a source initiated or collector initiated subscription).

Syntax


typedef enum  { 
  EcSubscriptionTypeSourceInitiated     = 0,
  EcSubscriptionTypeCollectorInitiated  = 1
} EC_SUBSCRIPTION_TYPE;

Constants

EcSubscriptionTypeSourceInitiated

Allows you to define an event subscription on an event collector computer without defining the event source computers. Multiple remote event source computers can then be set up (using a group policy setting) to forward events to the event collector computer. For more information, see Setting up a Source Initiated Subscription. This subscription type is useful when you do not know or you do not want to specify all the event sources computers that will forward events.

EcSubscriptionTypeCollectorInitiated

The computer that receives forwarded events from event sources (other computers that the events were published on) initiates the subscription. You specify all the event sources at the time the subscription is created.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Redistributable

WinRM v1.1 (Windows Server 2003 R2 or Windows XP with SP2)

Header

Evcoll.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft