DraftProject.Publish method
Queues a publish job to get the changes from the draft project back to the published version.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function Publish ( _
checkIn As Boolean _
) As QueueJob
'Usage
Dim instance As DraftProject
Dim checkIn As Boolean
Dim returnValue As QueueJob
returnValue = instance.Publish(checkIn)
[RemoteAttribute]
public QueueJob Publish(
bool checkIn
)
Parameters
checkIn
Type: System.BooleanBoolean that indicates whether the project should be checked in after it is published.
Return value
Type: Microsoft.ProjectServer.Client.QueueJob
A QueueJob object that contains information about the queued job. If the queue job is successful, the Project Server Queuing Service publishes the draft version of the project.