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.

You can 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.