Parent

Get or set the parent of this source.
This property may be used to retrieve the parent of this source (if one). Setting the parent is for internal use only. Setting this value to inappropriate values will result in undefined states and side effects. To set the parent for a source use the IEvtConfiguration::AddSource or IEvtConfiguration::RemoveSource methods.

 

Property get

HRESULT Name([out, retval]
IDispatch** ppVal);

Parameters

ppVal

[out, retval] pointer to a IDispatch* variable that receives the the parent of this source

Return Values

S_OK

Function was successfully called. If the source does have a parent, *ppVal is valid, otherwise it is set to NULL

E_POINTER

ppVal was no valid pointer

E_ACCESSDENIED

The object is locked due to an asynchronous operation