Share via


Issue::AddImpactRelatedActivityReference method

Creates and adds an impact-related ActivityReference to the Issue.

Syntax

virtual HRESULT AddImpactRelatedActivityReference(
  [in]            LPCWSTR           attributeActivityId,
  [out, optional] ActivityReference **activityReference
) = 0;

Parameters

attributeActivityId [in]

The activity ID.

activityReference [out, optional]

The ActivityReference that this method creates.

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error value.

Remarks

The Issue objects hold data from Iteration/Issues/Issue elements.

The impact-related ActivityReference objects hold data from the Issue/Impact/RelatedActivities/ActivityReference elements.

The activity ID is the value of attribute ActivityID of the Issue/Impact/RelatedActivities/ActivityReference element.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeRuntime.h
DLL
AxeCore.dll

See also

Issue