共用方式為


ObjectLinkProvider Class

Includes methods for managing web object links in Project Server and links to external objects such as list items in 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
            [ObjectLinkProvider Web service].ObjectLinkProvider

Namespace:  [ObjectLinkProvider Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/ObjectLinkProvider.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/ObjectLinkProvider.asmx?wsdl

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

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 project workspaces. 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

ObjectLinkProvider Web Service

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