Share via


Archive.QueueDeleteArchivedProject Method

Deletes the specified project in the Archive database.

Namespace:  WebSvcArchive
Assembly:  ProjectServerWebServices (in ProjectServerWebServices.dll)

Syntax

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

Parameters

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

Remarks

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

Project Server Permissions

Permission

Description

CleanupProjectServerDatabase

Delete or move projects.

Global permission.

DeleteProject

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

WebSvcArchive Namespace