Archive.QueueRestoreProject Method
Restores the specified archived project version from the Archive to the Published database
Namespace: WebSvcArchive
Assembly: ProjectServerWebServices (in ProjectServerWebServices.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Archive/QueueRestoreProject", RequestNamespace := "http://schemas.microsoft.com/office/project/server/webservices/Archive/", _
ResponseNamespace := "http://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("http://schemas.microsoft.com/office/project/server/webservices/Archive/QueueRestoreProject", RequestNamespace = "http://schemas.microsoft.com/office/project/server/webservices/Archive/",
ResponseNamespace = "http://schemas.microsoft.com/office/project/server/webservices/Archive/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void QueueRestoreProject(
Guid jobUID,
Guid projectUID,
Guid versionUID
)
Parameters
- jobUID
Type: System.Guid
GUID of the queue job.
- projectUID
Type: System.Guid
GUID of the archived project.
- versionUID
Type: System.Guid
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 |
---|---|
Perform a backup of Project Server entities. Global permission. |