Statusing.DeleteStatusingInformationForProject 方法

删除一个或多个项目的状态信息。

命名空间:  WebSvcStatusing
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
<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 _
)
用法
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
)

参数

  • projectID
    类型:[]

    要删除状态信息的项目的数组。

  • minDate
    类型:System.DateTime

    删除日期范围的开始。使用DateTime.MinDate选择从头开始。

  • maxDate
    类型:System.DateTime

    删除日期范围的末尾。使用DateTime.MaxDate指定到末尾。

备注

之前或之后要清理的进展状况表中删除项目,则调用此方法。

处理过程中更新项目。此方法不签出或签入项目。

Project Server 权限

权限

说明

CleanupProjectServerDatabase

允许用户从 Project Server 数据库中删除旧的信息。全局权限。

另请参阅

引用

Statusing 类

Statusing 成员

WebSvcStatusing 命名空间