共用方式為


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 命名空間