Table of contents
TOC
折叠目录
展开目录

配置文件对象 (项目)Profile Object (Project)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

表示在项目专业帐户配置文件。配置文件对象是配置文件集合中的成员。Represents an account profile in Project Professional. The Profile object is a member of the Profiles collection.

如果第二个帐户配置文件是 Project Server 的帐户,下面的语句将返回值 1,即pjServerProfile常量PjProfileType枚举中的值。If the second account profile is a Project Server account, the following statement returns the value 1, which is the value of the pjServerProfile constant in the PjProfileType enumeration.

Debug.Print Profiles(2).Type

注解Remarks

Project Server 帐户对话框中显示的数目和配置文件的顺序。使用Profiles.Count以编程方式确定项目专业中定义的帐户配置文件的数量。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.

方法Methods

名称Name
DeleteDelete

属性Properties

名称Name
ConnectionStateConnectionState
LoginTypeLoginType
名称Name
服务器Server
站点 IdSiteId
类型Type
用户名UserName
© 2018 Microsoft