Statusing.DeleteStatusingInformationForProject Method
Delete Statusing information for one or more projects.
Namespace: WebSvcStatusing
Assembly: ProjectServerWebServices (in ProjectServerWebServices.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Statusing/DeleteStatusingInformationForProject", RequestNamespace := "http://schemas.microsoft.com/office/project/server/webservices/Statusing/", _
ResponseNamespace := "http://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("http://schemas.microsoft.com/office/project/server/webservices/Statusing/DeleteStatusingInformationForProject", RequestNamespace = "http://schemas.microsoft.com/office/project/server/webservices/Statusing/",
ResponseNamespace = "http://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 |
|---|---|
Delete old information from the Project Server database. Global permission. |