Archive.QueueArchiveProjects 方法
封存最後一個 [封存] 動作後已變更的所有專案。
命名空間: WebSvcArchive
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Archive/QueueArchiveProjects", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Archive/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Archive/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub QueueArchiveProjects
'用途
Dim instance As Archive
instance.QueueArchiveProjects()
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Archive/QueueArchiveProjects", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Archive/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Archive/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void QueueArchiveProjects()
備註
QueueArchiveProjects是非同步的方法,將郵件傳送至 Project Server 佇列服務。
這個方法使用Project Web App,管理備份 」 頁面 (https://ServerName/ProjectServerName/_layouts/pwa/Admin/Backup.aspx) 封存的專案。
Project Server 權限
權限 |
描述 |
---|---|
可讓使用者排程,或執行 Project Server 實體的備份。通用權限。 |