Application.WorkOffline Method (Project)
Opens or closes the connection to Project Server.
expression A variable that represents an Application object.
|fOffline||Optional||Boolean||True closes the connection to Project Server. False opens the connection to Project Server.|
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."