Archive.QueueDeleteArchivedProject method
Deletes the specified project in the Archive database.
Namespace: WebSvcArchive
Assembly: ProjectServerServices (in ProjectServerServices.dll)
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
jobUID
Type: System.GuidThe GUID of the queue job.
projectUID
Type: System.GuidThe GUID of the project to delete in the archive.
archiveUID
Type: System.GuidThe 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 |
---|---|
Allows a user to delete or move projects. Global permission. |
|
Allows a user to delete the specified projects. Applies only if the current user does not have the CleanupProjectServerDatabase permission. Category permission. |