AddDocLink
Add a new DocLink to this event.
DocLinks are identified by their Names. DocLinks may only have one parent. If the DocLink is already child of another event, the function will fail.
HRESULT AddDocLink([in] IEvtCfgDocLinkt* pLink);
Parameters
pLink
[in] pointer to the new DocLink object to be added.
Return Values
S_OK
The new DocLink was successfully added.
E_FAIL
pLink could not be added to the event. This can happen if the Link is already child of another event
E_POINTER
pLink was no valid pointer
E_ACCESSDENIED
The object is locked due to an asynchronous operation