Partager via


Statusing.DeleteStatusApprovalHistories Method

Deletes the history of specified status updates approved by the current user.

Namespace:  [Statusing Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Statusing.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Statusing.asmx?wsdl

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Statusing/DeleteStatusApprovalHistories", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Statusing/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Statusing/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub DeleteStatusApprovalHistories ( _
    historyUids As Guid() _
)
'Usage
Dim instance As Statusing
Dim historyUids As Guid()

instance.DeleteStatusApprovalHistories(historyUids)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Statusing/DeleteStatusApprovalHistories", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Statusing/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Statusing/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void DeleteStatusApprovalHistories(
    Guid[] historyUids
)

Parameters

  • historyUids
    Type: []
    History unique IDs. Pass a null reference (Nothing in Visual Basic) to delete all updates for the current user.

Remarks

Project Server Permissions

Permission

Description

CleanupProjectServerDatabase

Allows the user to delete old information from the Project Server database. Global permission.

See Also

Reference

Statusing Class

Statusing Members

Statusing Web Service