共用方式為


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 Server 發佈的資料庫。

請參閱

參照

Project 類別

Project 成員

WebSvcProject 命名空間