EcSetSubscriptionProperty function

The EcSetSubscriptionProperty function sets new values or updates existing values of a subscription. New values set through this method will not be active unless they are saved by the EcSaveSubscription method.

Syntax

BOOL EcSetSubscriptionProperty(
  EC_HANDLE                   Subscription,
  EC_SUBSCRIPTION_PROPERTY_ID PropertyId,
  DWORD                       Flags,
  PEC_VARIANT                 PropertyValue
);

Parameters

Subscription

The handle to the subscription object.

PropertyId

A value from the EC_SUBSCRIPTION_PROPERTY_ID enumeration that specifies which property of the subscription to set.

Flags

Reserved. Must be 0.

PropertyValue

The value of the property to set for the indicated subscription property.

Return Value

This function returns BOOL.

Requirements

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header evcoll.h
Library Wecapi.lib
DLL Wecapi.dll

See Also

Windows Event Collector Functions