Application.WorkOffline Method (Project)

Opens or closes the connection to Project Server.

Syntax

expression. WorkOffline( _fOffline_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
fOffline Optional Boolean True closes the connection to Project Server. False opens the connection to Project Server.

Return Value

Boolean

Remarks

Available in Project Professional only. If Project is started with an offline account, the WorkOffline method results in a run-time error 1100: "The method is not available in this situation."