共用方式為


Archive.QueueArchiveProjects Method

Archives all projects that have changed since the last archive action.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Archive/QueueArchiveProjects", 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 QueueArchiveProjects
'Usage
Dim instance As Archive

instance.QueueArchiveProjects()
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Archive/QueueArchiveProjects", 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 QueueArchiveProjects()

Remarks

QueueArchiveProjects is an asynchronous method that sends a message to the Project Server Queuing Service.

This method is used by the Administrative Backup page (https://ServerName/ProjectServerName/_layouts/pwa/Admin/Backup.aspx) of Project Web App, to archive projects.

Project Server Permissions

Permission

Description

ManageProjectServerBackup

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

See Also

Reference

Archive Class

Archive Members

Archive Web Service