Table of contents
TOC
Collapse the table of content
Expand the table of content

Profile.Type Property (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Gets a value that specifies whether the account profile being used is a local profile or for Project Server. Read-only PjProfileType.

Syntax

expression. Type

expression A variable that represents a Profile object.

Remarks

The Type property can be one of the following PjProfileType constants: pjLocalProfile or pjServerProfile.

The Project Server Accounts dialog box shows the number and order of profiles. Use Profiles.Count to programmatically determine the number of account profiles defined in Project Professional.

Example

If the second account profile is a Project Server account, the following statement returns 1, which is the value of the pjServerProfile constant.

Debug.Print Profiles(2).Type
© 2018 Microsoft