共用方式為


Archive.QueueArchiveCustomFields Method

Saves a copy of tables for enterprise custom fields from the Published database to the Archive 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/QueueArchiveCustomFields", 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 QueueArchiveCustomFields ( _
    jobUID As Guid _
)
'Usage
Dim instance As Archive
Dim jobUID As Guid

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

Parameters

Remarks

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

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