Share via


Archive.QueueRestoreProject method

Restores the specified archived project version from the Archive database to the Published database

Namespace:  WebSvcArchive
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Archive/QueueRestoreProject", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Archive/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Archive/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub QueueRestoreProject ( _
    jobUID As Guid, _
    projectUID As Guid, _
    versionUID As Guid _
)
'Usage
Dim instance As Archive
Dim jobUID As Guid
Dim projectUID As Guid
Dim versionUID As Guid

instance.QueueRestoreProject(jobUID, _
    projectUID, versionUID)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Archive/QueueRestoreProject", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Archive/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Archive/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void QueueRestoreProject(
    Guid jobUID,
    Guid projectUID,
    Guid versionUID
)

Parameters

  • projectUID
    Type: System.Guid

    The GUID of the archived project.

  • versionUID
    Type: System.Guid

    The GUID of the project version.

Remarks

QueueRestoreProject is an asynchronous method that sends a message to the Project Server Queuing Service. The versionUID is the value from the QueueArchiveProject call that created the archived project version.

Project Server Permissions

Permission

Description

ManageProjectServerRestore

Allows a user to perform a backup of Project Server entities. Global permission.

See also

Reference

Archive class

Archive members

WebSvcArchive namespace