Share via


GetLinkType Method

The GetLinkType method returns the link type for a pair of objects.

Syntax

Function GetLinkType(ByVal dwObj1   As Unsigned Long, ByVal dwObj2   As Unsigned Long) As Unsigned Long

Parameters

dwObj1     Required. Integer that specifies the first object, by its reference ID.

dwObj2     Required. Integer that specifies the second object, by its reference ID.

Return Values

Returns an integer identifying the link type of the two objects.

1 General relationship
2 Tasks are affected by issue
3 Tasks as action items for an issue
4 Tasks are affected by risk
5 Tasks are triggers for the risk
6 Tasks are part of the mitigation plan
7 Tasks are part of the contingency plan

See Also

AddLinks Method | GetLinkedObjects Method | GetObjectDetails Method | GetObjectType Method | GetProjectIssues Method | GetSTSObjectID Method | GetTaskObjectID Method

Applies To

IObjLinkProvider Interface

Additional Information

Object Link Provider Reference for Microsoft Office Project Server