WebSvcObjectLinkProvider 名前空間

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.

注意

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.

クラス

  クラス 説明
パブリック クラス ObjectLinkProvider Project Server 2013で廃止されました。Web オブジェクト リンク設置型Project Web Appの設置型の SharePoint サイト内のリスト項目などの外部のオブジェクトへのリンクを管理するためのメソッドが含まれます。
パブリック クラス ObjectLinkProviderDataSet タスク、懸案事項、リスク、およびドキュメントに関する情報のコレクションを維持するために使用されます。
パブリック クラス ObjectLinkProviderDataSet.WebObjectLinksDataTable タスク、懸案事項、リスク、およびドキュメントに関する情報のコレクションを維持するために使用されます。
パブリック クラス ObjectLinkProviderDataSet.WebObjectLinksRow 1 つのリンク web オブジェクトと、プロジェクトやタスク間のデータが含まれています。
パブリック クラス ObjectLinkProviderDataSet.WebObjectLinksRowChangeEvent WebObjectLinksRow内のデータが変更されたときに発生するイベントです。
パブリック クラス ObjectLinkProviderDataSet.WebObjectsDataTable Web プロジェクトまたは Project server のタスクにリンクされているオブジェクトのコレクションのデータが含まれています。
パブリック クラス ObjectLinkProviderDataSet.WebObjectsRow プロジェクトまたはタスクに Project Server にリンクされている 1 つの web オブジェクトのデータが含まれています。
パブリック クラス ObjectLinkProviderDataSet.WebObjectsRowChangeEvent WebObjectsRow内のデータが変更されたときに発生するイベントです。

デリゲート

  デリゲート 説明
パブリック デリゲート ObjectLinkProviderDataSet.WebObjectLinksRowChangeEventHandler ObjectLinkProviderDataSet.WebObjectLinksRow のデータで、アクションを実行するときに発生するイベントを処理するメソッドを表します。
パブリック デリゲート ObjectLinkProviderDataSet.WebObjectsRowChangeEventHandler ObjectLinkProviderDataSet.WebObjectsRow のデータで、アクションを実行するときに発生するイベントを処理するメソッドを表します。

列挙体

  列挙体 説明
パブリック列挙体 WebObjectLinkType ObjectLinkProviderDataSet クラスは、Web オブジェクト間のリンクの種類を指定します。