Archive.QueueDeleteArchivedProject method

Deletes the specified project in the Archive database.

Namespace:  WebSvcArchive
Assembly:  ProjectServerServices (in ProjectServerServices.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

    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

WebSvcArchive namespace