次の方法で共有


Project.QueueCreateProposalProjectAndCheckout Method

Deprecated in Project Server 2010.

Namespace:  [Project Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Project.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Project.asmx?wsdl

Syntax

'Declaration
<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 _
)
'Usage
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
)

Parameters

  • sessionUid
    Type: System.Guid
    The GUID of the session in which the queue job is submitted.
  • sessionDescription
    Type: System.String
    The description of the session.
  • validateOnly
    Type: System.Boolean
    If true, only validates the input data and does not perform the action.
  • publishProject
    Type: System.Boolean
    If true, saves the project to the Published database.

Remarks

Note

Project Server 2010 handles project proposals and demand-management workflows differently than Office Project Server 2007 and does not use QueueCreateProposalProjectAndCheckout. For more information, see Workflow and Demand Management.

In Office Project Server 2007, QueueCreateProposalProjectAndCheckout creates a project proposal and also creates a Proposals item in a SharePoint list to track the workflow for the proposal. For information about how QueueCreateProposalProjectAndCheckout works in Office Project Server 2007, see the QueueCreateProposalProjectAndCheckout method in the Project 2007 SDK.

See Also

Reference

Project Class

Project Members

Project Web Service