Autodesk Vault ProfessionalVault API

AddLink Method

Autodesk.Connectivity.WebServicesDocumentService

Adds a new Link.

Required Permissions

LinkCreate

Syntax

public Lnk AddLink(
   System.long parentId,
   System.string toEntityClassId,
   System.long toEntityId,
   System.string meta
)
Public Function AddLink( _
   ByVal parentId As System.Long, _
   ByVal toEntityClassId As System.String, _
   ByVal toEntityId As System.Long, _
   ByVal meta As System.String _
) As Lnk

Parameters

NameDescription
parentIdThe ID of the container Entity.
toEntityClassIdThe type of Entity being linked to.
toEntityIdThe ID of the Entity being linked to.
metaOptional meta data on the link.

Return Value

The newly created Link object.

See Also