MachineName Property

IEventSubscription::MachineName property

The name of the computer on which the subscriber should be activated (for a persistent subscription).

This property is read/write.

Syntax


HRESULT put_MachineName(
  [in]          BSTR bstrMachineName
);

HRESULT get_MachineName(
  [out, retval] BSTR *pbstrMachineName
);

Property value

The computer name.

Error codes

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

Remarks

This information is only meaningful if the SubscriberCLSID property is not empty. This property has no effect on transient subscriptions.

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