Share via


IObjLinkProvider Interface Properties and Methods for the Object Link Provider

Summary

The IObjLinkProvider interface defines the methods and properties of, and is implemented by, the ObjLinkProvider object. The ObjLinkProvider object provides mechanisms for the logical interaction with the database tables holding references for objects and their relationships.

Requirements

Type Library PjObjProv 1.0 Type Library
Inproc Server %Program Files%\Microsoft Project Server\bin\PjObjPrv.dll

Properties

The following table shows the properties of the IObjLinkProvider interface, the data type of each property, and a brief description of each. All properties are read/write, except where noted. To learn more about a specific property, click the link to read the detailed reference material for each property.

Name Data type Description
BasePath String Virtual root for the Microsoft Office Project Server instance.
CodePage Long Code page to be used.

Methods

The following table shows the methods of the IObjLinkProvider interface, and a brief description of each. To learn more about a specific method, click the link to read the detailed reference material for each method.

Name Description
AddLink Create a new link between a pair of objects.
AddLinks Creates new links between an object and an array of objects.
AddObject Creates a new object entry of a specific type.
AddProjectObject Creates a project type object.
AddSTSObject Creates a Microsoft Windows SharePoint Services Web site from a Microsoft list type object (document or issue).
AddTaskObject Creates a task type object.
ClearConnection Closes connection to the Object Link Provider.
CreateConnection Opens connection to the Object Link Provider.
GetLinkedObjects Gets an array of object IDs and object types.
GetLinkType Gets the link type for a pair of objects.
GetObjectDetails Gets all fields about an object.
GetObjectType Gets the object type for an object ID.
GetProjectIssues Gets object IDs of all issues linked to a specific project.
GetProjectObjectID Gets the object ID for a specific project.
GetSTSObjectID Gets the object ID for a Windows SharePoint Services list item.
GetStsObjectIdFromTpId Gets the GUID for a Windows SharePoint Services list item.
GetTaskObjectID Gets the ObjectID for a specific project task.
RemoveDocLibLinks Deletes links in a specific Windows SharePoint Services list for a specific project.
RemoveLink Removes the link between two objects (deletes the row in the table).
RemoveLinks Removes multiple links of a particular object type or link type.
RemoveProjectObjectAndLinks Deletes all links and the specific project object.
SetLinkType Sets the link type for a pair of objects.