WebSvcObjectLinkProvider namespace

The ObjectLinkProvider class is the primary class in the WebSvcObjectLinkProvider namespace. The ObjectLinkProvider class includes methods that manage web objects and links for documents and list items for on-premises project sites in Microsoft SharePoint Server 2013.

Note

The ObjectLinkProvider service is deprecated in Project Server 2013.

We recommend that you use the RelatedItemManager class in the SharePoint CSOM to create OLP-type apps for both on-premises installations of Project Server 2013 and for Project Online. The Microsoft.SharePoint namespace does not include a RelatedItemManager class.

You can use the RelatedItemManager class in the SharePoint CSOM to create, read, and delete web object links between items in the tasks list and the other lists in a project site. For example, to add a link from a task item to an issue, you can use the AddSingleLink method or either of two similar methods, AddSingleLinkFromUrl or AddSingleLinkToUrl. The RelatedItemManager class also includes methods for deleting a web object link and reading related items. For the equivalent class in the JSOM (the JavaScript object model), see SP.RelatedItemManager object (sp.js).

In the ASMX web service, ObjectLinkProvider is a class. In the WCF service, ObjectLinkProvider is an interface that is implemented in the ObjectLinkProviderClient class. For information about using the ObjectLinkProviderClient class in a WCF-based application, see the ObjectLinkProvider class constructor.

The WebSvcObjectLinkProvider namespace is an arbitrary name for a reference to the ObjectLinkProvider.asmx web service (or the ObjectLinkProvider.svc service) of the Project Server Interface (PSI). ObjectLinkProvider methods can create, read, or update item links, or delete SharePoint web objects. The web objects can be project, project-linked, task, or task-linked. For example, web objects in a project web site can include documents, issues, risks, and deliverables.

ObjectLinkProvider methods typically use or return an ObjectLinkProviderDataSet object.

Classes

  Class Description
Public class ObjectLinkProvider Deprecated in Project Server 2013. Includes methods for managing web object links for on-premises installations of Project Web App and links to external objects such as list items in on-premises SharePoint sites.
Public class ObjectLinkProviderDataSet Used to maintain collections of information about tasks, issues, risks, and documents.
Public class ObjectLinkProviderDataSet.WebObjectLinksDataTable Used to maintain a collection of information regarding tasks, issues, risks, and documents.
Public class ObjectLinkProviderDataSet.WebObjectLinksRow Contains the data for one link between a web object and a project or task.
Public class ObjectLinkProviderDataSet.WebObjectLinksRowChangeEvent Event that occurs when data in a WebObjectLinksRow is changed.
Public class ObjectLinkProviderDataSet.WebObjectsDataTable Contains the data for a collection of web objects that can be linked to projects or tasks in Project Server.
Public class ObjectLinkProviderDataSet.WebObjectsRow Contains the data for one web object that can be linked to a project or task in Project Server.
Public class ObjectLinkProviderDataSet.WebObjectsRowChangeEvent Event that occurs when data in a WebObjectsRow is changed.

Delegates

  Delegate Description
Public delegate ObjectLinkProviderDataSet.WebObjectLinksRowChangeEventHandler Represents the method that handles events which occur when an action is performed on ObjectLinkProviderDataSet.WebObjectLinksRow data.
Public delegate ObjectLinkProviderDataSet.WebObjectsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on ObjectLinkProviderDataSet.WebObjectsRow data.

Enumerations

  Enumeration Description
Public enumeration WebObjectLinkType Specifies the type of link between Web objects in an ObjectLinkProviderDataSet class.