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 | 包含一个 web 对象的项目或任务之间的链接的数据。 | |
ObjectLinkProviderDataSet.WebObjectLinksRowChangeEvent | 在WebObjectLinksRow中的数据发生更改时引发的事件。 | |
ObjectLinkProviderDataSet.WebObjectsDataTable | 包含的数据的 web 对象可以链接到项目或在项目服务器中的任务的集合。 | |
ObjectLinkProviderDataSet.WebObjectsRow | 包含一个 web 对象,可以将链接到项目或任务在项目服务器中的数据。 | |
ObjectLinkProviderDataSet.WebObjectsRowChangeEvent | 在WebObjectsRow中的数据发生更改时引发的事件。 |
委托
委托 | 说明 | |
---|---|---|
ObjectLinkProviderDataSet.WebObjectLinksRowChangeEventHandler | 表示处理对ObjectLinkProviderDataSet.WebObjectLinksRow数据执行操作时发生的事件的方法。 | |
ObjectLinkProviderDataSet.WebObjectsRowChangeEventHandler | 表示处理对ObjectLinkProviderDataSet.WebObjectsRow数据执行操作时发生的事件的方法。 |
枚举
枚举 | 说明 | |
---|---|---|
WebObjectLinkType | 指定 Web 在ObjectLinkProviderDataSet类中的对象之间的链接的类型。 |