Autodesk Vault ProfessionalVault API

AssignComponentToItem Method

Autodesk.Connectivity.WebServicesItemService

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 Item

Parameters

NameDescription
itemRevIdThe revision id of the item to link to
compIdThe id of the component to link the item to

Return Value

Either an uncommitted or committed item depending on the type of link created

See Also