TimeSheet.ReadReviewedTimesheets 方法
讀取所有已檢閱所指定之資源在指定的時間範圍內的目前使用者的時程表。
命名空間: WebSvcTimeSheet
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/ReadReviewedTimesheets", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadReviewedTimesheets ( _
start As DateTime, _
finish As DateTime, _
resUIDs As Guid() _
) As TimesheetListDataSet
'用途
Dim instance As TimeSheet
Dim start As DateTime
Dim finish As DateTime
Dim resUIDs As Guid()
Dim returnValue As TimesheetListDataSet
returnValue = instance.ReadReviewedTimesheets(start, _
finish, resUIDs)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/ReadReviewedTimesheets", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public TimesheetListDataSet ReadReviewedTimesheets(
DateTime start,
DateTime finish,
Guid[] resUIDs
)
參數
start
類型:System.DateTime開始日期與時間。
finish
類型:System.DateTime結束日期與時間。
resUIDs
類型:[]時程表應閱讀其資源的陣列。
傳回值
類型:WebSvcTimeSheet.TimesheetListDataSet
備註
Project Server 權限
權限 |
描述 |
---|---|
允許使用者登入 Project Server。通用權限。 |