| Platform SDK: Exchange Server |
Link a task to a project by setting its ProjectItemId property.
The following sample code links a task to a project:
Public Sub LinkTask(objTask As Object, objProject As Object)
objTask.SetProperties ProjectItemId:=objProject.ItemId
End Sub