Archive.QueueRestoreProject 方法
會指定封存的專案版本從封存資料庫還原至已發佈資料庫
命名空間: WebSvcArchive
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Archive/QueueRestoreProject", 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 QueueRestoreProject ( _
jobUID As Guid, _
projectUID As Guid, _
versionUID As Guid _
)
'用途
Dim instance As Archive
Dim jobUID As Guid
Dim projectUID As Guid
Dim versionUID As Guid
instance.QueueRestoreProject(jobUID, _
projectUID, versionUID)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Archive/QueueRestoreProject", 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 QueueRestoreProject(
Guid jobUID,
Guid projectUID,
Guid versionUID
)
參數
jobUID
類型:System.Guid佇列工作的 GUID。
projectUID
類型:System.Guid封存專案的 GUID。
versionUID
類型:System.Guid專案版本的 GUID。
備註
QueueRestoreProject是非同步的方法,將郵件傳送至 Project Server 佇列服務。versionUID是來自QueueArchiveProject通話建立封存的專案版本的值。
Project Server 權限
權限 |
描述 |
---|---|
可讓使用者執行 Project Server 實體的備份。通用權限。 |