Profile.ConnectionState property (Project)

Gets the connection state of Project Professional, which allows you to determine whether the online mode is for a local profile or for Project Server. Read-only PjProfileConnectionState.

Syntax

expression. ConnectionState

expression A variable that represents a Profile object.

Remarks

The ConnectionState property can be one of the following PjProfileConnectionState constants: pjProfileOffline or pjProfileOnline.

Use this property in conjunction with the Profile. Type property to determine whether the online mode is for a local profile or for Project Server. This property is available only in Project Professional.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.