Archive.QueueScheduleArchives 方法
設定封存排程。
命名空間: WebSvcArchive
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Archive/QueueScheduleArchives", 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 QueueScheduleArchives ( _
opCode As ArchiveOpcode _
)
'用途
Dim instance As Archive
Dim opCode As ArchiveOpcode
instance.QueueScheduleArchives(opCode)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Archive/QueueScheduleArchives", 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 QueueScheduleArchives(
ArchiveOpcode opCode
)
參數
opCode
類型:WebSvcArchive.ArchiveOpcode封存排程的作業程式碼。
備註
QueueScheduleArchives是非同步的方法,將郵件傳送至 Project Server 佇列服務。
Project Server 權限
權限 |
描述 |
---|---|
可讓使用者排程,或執行 Project Server 實體的備份。通用權限。 |