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工作分配、 任务或事务的唯一 ID。
itemtype
类型:WebSvcStatusing.AssnHistoryItemTypeAssnHistoryItemType对象,它指示的项目类型。
返回值
类型:WebSvcStatusing.AssnHistoryDataSet
备注
Project Server 权限
不不需要任何权限。此方法读取仅当前登录的资源的数据。