IEventSubscription::get_Enabled method (eventsys.h)

Indicates whether the subscription is enabled.

This property is read/write.

Syntax

HRESULT get_Enabled(
  BOOL *pfEnabled
);

Parameters

pfEnabled

Return value

None

Remarks

If a subscription is not enabled, it still appears in collections and can be queried, but events fired by the publisher do not reach the subscriber.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header eventsys.h

See also

IEventSubscription