次の方法で共有


Project.ReadProjectSyncErrorInfo Method

Retrieves the error status for a synchronization request of the specified SharePoint task list with Project Server.

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

Syntax

'Declaration
<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
'Usage
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
)

Parameters

  • wssListUid
    Type: System.Guid
    The GUID of the SharePoint task list.

Return Value

Type: [Project Web service].SyncErrorsDataSet
Contains synchronization errors for the specified SharePoint task list.

Remarks

This is a new method in Project Server 2010. The ReadProjectSyncErrorInfo method gets the error status from an attempted syncyronization or settings update that uses one of the following methods: CreateWssListSyncedProject, SyncProjectWithWss, or UpdateProjectSyncSettings.

Project Server Permissions

Permission

Description

NewProject

Allows a user to create a project. Global permission.

PublishProject

Allows a user to publish a project to the Project Server Published database.

See Also

Reference

Project Class

Project Members

Project Web Service