title | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Profile.Type property (Project) |
project-server |
|
ff5c3939-cfa6-c098-5fc4-180a4573ecb0 |
06/08/2017 |
medium |
Gets a value that specifies whether the account profile being used is a local profile or for Project Server. Read-only PjProfileType.
expression.Type
expression A variable that represents a Profile object.
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.
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
[!includeSupport and feedback]