AssignComponentToItem Method
Assign a component to an item revision
Syntax
public Item AssignComponentToItem(
System.long itemRevId,
System.long compId
)Public Function AssignComponentToItem( _
ByVal itemRevId As System.Long, _
ByVal compId As System.Long _
) As ItemParameters
| Name | Description |
|---|---|
| itemRevId | The revision id of the item to link to |
| compId | The id of the component to link the item to |
Return Value
Either an uncommitted or committed item depending on the type of link created
Remarks
If a primary link was created the client should update the item and then commit it. If the returned item is uncommitted the client can either commit the change or undo the change.