Statusing.ReadMySchedule 方法
會取得指定的時間期間內的目前使用者的排程。
命名空間: WebSvcStatusing
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Statusing/ReadMySchedule", 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 ReadMySchedule ( _
start As DateTime, _
finish As DateTime _
) As ScheduleDataSet
'用途
Dim instance As Statusing
Dim start As DateTime
Dim finish As DateTime
Dim returnValue As ScheduleDataSet
returnValue = instance.ReadMySchedule(start, _
finish)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Statusing/ReadMySchedule", 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 ScheduleDataSet ReadMySchedule(
DateTime start,
DateTime finish
)
參數
start
類型:System.DateTime開始日期和時間
finish
類型:System.DateTime結束日期與時間。
傳回值
類型:WebSvcStatusing.ScheduleDataSet
備註
Project Server 權限
不不需要任何權限。此方法會讀取資料只能在目前已登入的資源。