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 实体。全局权限。 |