Project.ReadProjectSyncErrorInfo 方法

检索指定 SharePoint 任务列表与 Project Server 同步请求的错误状态。

命名空间:  WebSvcProject
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/ReadProjectSyncErrorInfo", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Project/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Project/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadProjectSyncErrorInfo ( _
    wssListUid As Guid _
) As SyncErrorsDataSet
用法
Dim instance As Project
Dim wssListUid As Guid
Dim returnValue As SyncErrorsDataSet

returnValue = instance.ReadProjectSyncErrorInfo(wssListUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/ReadProjectSyncErrorInfo", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Project/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Project/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public SyncErrorsDataSet ReadProjectSyncErrorInfo(
    Guid wssListUid
)

参数

  • wssListUid
    类型:System.Guid

    SharePoint 任务列表的 GUID。

返回值

类型:WebSvcProject.SyncErrorsDataSet
包含有关指定 SharePoint 任务列表同步错误。

备注

这是Project Server 2013中的新方法。ReadProjectSyncErrorInfo方法从尝试的 syncyronization 或更新设置使用下列方法之一获取的错误状态: CreateWssListSyncedProject、 SyncProjectWithWss或UpdateProjectSyncSettings。

Project Server 权限

权限

说明

NewProject

允许用户创建的项目。全局权限。

PublishProject

允许用户将项目发布到项目服务器已发布的数据库。

另请参阅

引用

Project 类

Project 成员

WebSvcProject 命名空间