Statusing.DeleteStatusingInformationForProject Method
Delete Statusing information for one or more projects.
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/DeleteStatusingInformationForProject", 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 DeleteStatusingInformationForProject ( _
projectID As Guid(), _
minDate As DateTime, _
maxDate As DateTime _
)
'Usage
Dim instance As Statusing
Dim projectID As Guid()
Dim minDate As DateTime
Dim maxDate As DateTime
instance.DeleteStatusingInformationForProject(projectID, _
minDate, maxDate)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Statusing/DeleteStatusingInformationForProject", 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 DeleteStatusingInformationForProject(
Guid[] projectID,
DateTime minDate,
DateTime maxDate
)
Parameters
- projectID
Type: []
Array of projects to delete Statusing information from.
- minDate
Type: System.DateTime
Start of deletion date range. Use DateTime.MinDate to select from the beginning.
- maxDate
Type: System.DateTime
End of deletion date range. Use DateTime.MaxDate to specify to the end.
Remarks
Call this method before or after a project is deleted to clean up the Statusing tables.
In-process updates on the project are processed. This method does not check out or check in the project.
Project Server Permissions
Permission |
Description |
---|---|
Allows the user to delete old information from the Project Server database. Global permission. |