IEventSubscription::PublisherID property

The unique ID of the event publisher.

This property is read/write.

Syntax


HRESULT put_PublisherID(
  [in]          BSTR bstrPublisherID
);

HRESULT get_PublisherID(
  [out, retval] BSTR *pbstrPublisherID
);

Property value

The identifier.

Error codes

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.

Remarks

Specifying a PublisherID property does not guarantee that a subscriber will not receive events fired by other publishers.

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

See also

IEventSubscription

 

 

Community Additions

ADD
Show: