Export (0) Print
Expand All

IEventPublisher interface

Registers, modifies, removes, and provides information about an event publisher.

When to implement

You do not need to implement the IEventPublisher interface. A system-supplied EventPublisher object (CLSID_CEventPublisher) implements IEventPublisher.

When to use

Call the methods of IEventPublisher to perform the following actions:

  • To register event publishers in, or remove them from, the event store
  • To modify or obtain information about event publishers registered in the event store

Members

The IEventPublisher interface inherits from the IDispatch interface. IEventPublisher also has these types of members:

Methods

The IEventPublisher interface has these methods.

MethodDescription
GetDefaultProperty

Retrieves a named property and its value from the property bag associated with the event publisher.

GetDefaultPropertyCollection

Creates a collection object that enumerates the properties contained in the property bag associated with the event publisher object.

PutDefaultProperty

Writes a named property and its value to the property bag associated with the event publisher.

RemoveDefaultProperty

Removes a named property and its value from the property bag associated with the event publisher object.

 

Properties

The IEventPublisher interface has these properties.

PropertyAccess typeDescription

Description

Read/write

The display text for the event publisher.

OwnerSID

Read/write

The security identifier of the creator of the event publisher.

PublisherID

Write-only

The identifier for the event publisher.

PublisherName

Read/write

The display name for the event publisher.

PublisherType

Read/write

The optional administrative group for the event publisher.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

EventSys.h

IDL

EventSys.idl

IID

IID_IEventPublisher is defined as E341516B-2E32-11D1-9964-00C04FBBB345

 

 

Community Additions

ADD
Show:
© 2014 Microsoft