共用方式為


Archive.QueueRestoreCustomFields Method

Restores tables related to enterprise custom fields from the Archive database to the Published database.

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/QueueRestoreCustomFields", 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 QueueRestoreCustomFields ( _
    jobUID As Guid _
)
'Usage
Dim instance As Archive
Dim jobUID As Guid

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

Parameters

Remarks

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

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

Archive Web Service