Statusing.ReadAssignmentHistory 方法
會取得指定之工作分派、 任務或交易的交易歷程記錄。
命名空間: WebSvcStatusing
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Statusing/ReadAssignmentHistory", 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 Function ReadAssignmentHistory ( _
itemid As Guid, _
itemtype As AssnHistoryItemType _
) As AssnHistoryDataSet
'用途
Dim instance As Statusing
Dim itemid As Guid
Dim itemtype As AssnHistoryItemType
Dim returnValue As AssnHistoryDataSet
returnValue = instance.ReadAssignmentHistory(itemid, _
itemtype)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Statusing/ReadAssignmentHistory", 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 AssnHistoryDataSet ReadAssignmentHistory(
Guid itemid,
AssnHistoryItemType itemtype
)
參數
itemid
類型:System.Guid工作分派、 任務或交易的唯一識別碼。
itemtype
類型:WebSvcStatusing.AssnHistoryItemTypeAssnHistoryItemType物件,表示項目類型。
傳回值
類型:WebSvcStatusing.AssnHistoryDataSet
備註
Project Server 權限
不不需要任何權限。此方法會讀取資料只能在目前已登入的資源。