Project.QueueCreateProposalProjectAndCheckout 方法

在Project Server 2013中不建议使用。

命名空间:  WebSvcProject
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/QueueCreateProposalProjectAndCheckout", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Project/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Project/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub QueueCreateProposalProjectAndCheckout ( _
    jobUid As Guid, _
    sessionUid As Guid, _
    sessionDescription As String, _
    projDS As ProjectDataSet, _
    validateOnly As Boolean, _
    publishProject As Boolean _
)
用法
Dim instance As Project
Dim jobUid As Guid
Dim sessionUid As Guid
Dim sessionDescription As String
Dim projDS As ProjectDataSet
Dim validateOnly As Boolean
Dim publishProject As Boolean

instance.QueueCreateProposalProjectAndCheckout(jobUid, _
    sessionUid, sessionDescription, _
    projDS, validateOnly, publishProject)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/QueueCreateProposalProjectAndCheckout", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Project/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Project/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void QueueCreateProposalProjectAndCheckout(
    Guid jobUid,
    Guid sessionUid,
    string sessionDescription,
    ProjectDataSet projDS,
    bool validateOnly,
    bool publishProject
)

参数

  • sessionUid
    类型:System.Guid

    队列作业提交的会话的 GUID。

  • sessionDescription
    类型:System.String

    上课时间的描述。

  • validateOnly
    类型:System.Boolean

    如果true,仅验证输入的数据并不会执行该操作。

  • publishProject
    类型:System.Boolean

    如果true,将项目保存到已发布的数据库。

备注

备注

Project Server 2013处理项目方案和需求管理工作流不同于Office Project Server 2007和不使用QueueCreateProposalProjectAndCheckout。

在Office Project Server 2007, QueueCreateProposalProjectAndCheckout创建项目建议和创建 SharePoint 列表用于跟踪工作流的方案的方案项。有关QueueCreateProposalProjectAndCheckout在Office Project Server 2007的工作原理的信息请参见项目 2007 SDK 中的QueueCreateProposalProjectAndCheckout方法。

另请参阅

引用

Project 类

Project 成员

WebSvcProject 命名空间