EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID enumeration

The EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID enumeration specifies the values used to get the status of a subscription or the status of a particular event source with respect to a subscription. The values are used in the EcGetSubscriptionRunTimeStatus function.

Syntax


typedef enum  { 
  EcSubscriptionRunTimeStatusActive             = 0,
  EcSubscriptionRunTimeStatusLastError          = 1,
  EcSubscriptionRunTimeStatusLastErrorMessage   = 2,
  EcSubscriptionRunTimeStatusLastErrorTime      = 3,
  EcSubscriptionRunTimeStatusNextRetryTime      = 4,
  EcSubscriptionRunTimeStatusEventSources       = 5,
  EcSubscriptionRunTimeStatusLastHeartbeatTime  = 6
} EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID;

Constants

EcSubscriptionRunTimeStatusActive

Get the status of an active or inactive subscription or an event source. This will return an unsigned 32-bit integer value from the EC_SUBSCRIPTION_RUNTIME_STATUS_ACTIVE_STATUS enumeration.

EcSubscriptionRunTimeStatusLastError

Get the last error status of a subscription or an event source. This will return an EcVarTypeUInt32 value.

EcSubscriptionRunTimeStatusLastErrorMessage

Get the last error message for a subscription or an event source. This will return an EcVarTypeString value.

EcSubscriptionRunTimeStatusLastErrorTime

Get the time that the last error occurred for a subscription or an event source. This will return an EcVarTypeDateTime value.

EcSubscriptionRunTimeStatusNextRetryTime

Get the next time that the subscription or an event source will try to run (after an error). This will return an EcVarTypeDateTime value.

EcSubscriptionRunTimeStatusEventSources

Get the event sources for the subscription. For collector initiated subscriptions, this list will be identical to the one in the subscription's configuration. For source initiated subscriptions, this list will be the set of event sources that collector has heard from in the last 30 days. This list is persistent across reboots of the event collector. This will return an EcVarTypeString value.

EcSubscriptionRunTimeStatusLastHeartbeatTime

Get the last time that a heartbeat (a signal used to signify the subscription is working) occurred for a subscription or an event source. This will return an EcVarTypeDateTime value.

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:
© 2014 Microsoft