Project.UpdateServerTimelineData 方法
會將時間表資料儲存至伺服器資料庫。
命名空間: WebSvcProject
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/UpdateServerTimelineData", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Project/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Project/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub UpdateServerTimelineData ( _
timelineType As Guid, _
tlData As String _
)
'用途
Dim instance As Project
Dim timelineType As Guid
Dim tlData As String
instance.UpdateServerTimelineData(timelineType, _
tlData)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/UpdateServerTimelineData", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Project/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Project/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void UpdateServerTimelineData(
Guid timelineType,
string tlData
)
參數
timelineType
類型:System.Guid代表時間表類型的 GUID。
tlData
類型:System.String內含時間表項目及儲存的格式化資料的字串。
備註
可以移除或格式化從本身的時間表,方法將該資訊傳送至伺服器所需的項目。