Share via


Archive.QueueDeleteArchivedProject Method

Deletes the specified project in 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/QueueDeleteArchivedProject", 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 QueueDeleteArchivedProject ( _
    jobUID As Guid, _
    projectUID As Guid, _
    archiveUID As Guid _
)
'Usage
Dim instance As Archive
Dim jobUID As Guid
Dim projectUID As Guid
Dim archiveUID As Guid

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

Parameters

  • projectUID
    Type: System.Guid
    The GUID of the project to delete in the archive.
  • archiveUID
    Type: System.Guid
    The GUID of the archive.

Remarks

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

Project Server Permissions

Permission

Description

CleanupProjectServerDatabase

Allows a user to delete or move projects. Global permission.

DeleteProject

Allows a user to delete the specified projects. Applies only if the current user does not have the CleanupProjectServerDatabase permission. Category permission.

See Also

Reference

Archive Class

Archive Members

Archive Web Service