title | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Application.ProjectBeforePublish event (Project) |
project-server |
|
5778ec6c-a8c0-0a05-145c-c9ad6132bf87 |
06/08/2017 |
medium |
Occurs before a Publish operation is placed on the server queue. The ProjectBeforePublish event can be cancelled. Project Professional only.
expression. ProjectBeforePublish
( _pj_
, _Cancel_
)
expression A variable that represents an Application object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
pj | Required | Project | Project object. |
Cancel | Required | Boolean | True to cancel the Publish job. |
Nothing
The ProjectBeforePublish event is commonly used to determine whether certain conditions are satisfied and to cancel publishing if the conditions are not met.
[!includeSupport and feedback]