Share via


ObjectLinkProvider class

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.

Inheritance hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Web.Services.Protocols.WebClientProtocol
        System.Web.Services.Protocols.HttpWebClientProtocol
          System.Web.Services.Protocols.SoapHttpClientProtocol
            WebSvcObjectLinkProvider.ObjectLinkProvider

Namespace:  WebSvcObjectLinkProvider
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
<WebServiceBindingAttribute(Name := "ObjectLinkProviderSoap", Namespace := "https://schemas.microsoft.com/office/project/server/webservices/ObjectLinkProvider/")> _
Public Class ObjectLinkProvider _
    Inherits SoapHttpClientProtocol
'Usage
Dim instance As ObjectLinkProvider
[WebServiceBindingAttribute(Name = "ObjectLinkProviderSoap", Namespace = "https://schemas.microsoft.com/office/project/server/webservices/ObjectLinkProvider/")]
public class ObjectLinkProvider : SoapHttpClientProtocol

Remarks

Note

The ObjectLinkProvider service is deprecated in Project Server 2013 and is not usable with Project Online.

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).

The ObjectLinkProvider class methods can create, delete, and read web objects and links between Project Server entities and external objects. By default, the methods can link projects and tasks with objects such as document, issue, risk, and deliverable list items in on-premises project sites. You can also link external objects to each other or link projects and tasks to other kinds of objects, such as file system objects.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

ObjectLinkProvider members

WebSvcObjectLinkProvider namespace

Other resources

Windows SharePoint Services Infrastructure for Project Server

Using the Object Link Provider

How to: Use the OLP to Link an Object to a Task