Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.07 KB

Project.Application.ProjectBeforePublish.md

File metadata and controls

42 lines (24 loc) · 1.07 KB
title ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.ProjectBeforePublish event (Project)
project-server
Project.Application.ProjectBeforePublish
5778ec6c-a8c0-0a05-145c-c9ad6132bf87
06/08/2017
medium

Application.ProjectBeforePublish event (Project)

Occurs before a Publish operation is placed on the server queue. The ProjectBeforePublish event can be cancelled. Project Professional only.

Syntax

expression. ProjectBeforePublish( _pj_, _Cancel_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
pj Required Project Project object.
Cancel Required Boolean True to cancel the Publish job.

Return value

Nothing

Remarks

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]