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