Application.GetProjectServerVersion Method
Project Developer Reference |
This method checks the version of the Project Server for the active project. The method can also be used to check whether a particular server URL points to a valid and functioning Project Server.
Syntax
expression.GetProjectServerVersion(ServerURL)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
ServerURL | Required | String | A string representing the URL of the Project Server whose version needs to be checked. |
Return Value
PjServerVersionInfo
Remarks
If the ServerURL argument does not point to a valid and functioning Project Server, the method returns a trappable error (error code 1004).
Example
The following sample returns an XML stream representing the following settings from Project Server: ProjectServerSettingsRequest, AdminDefaultTrackingMethod, AdminTrackingLocked, ProjectIDInProjectServer, ProjectManagerHasTransactions, ProjectManagerHasTransactionsForCurrentProject, TimePeriodGranularity, and GroupsForCurrentProjectManager.
Visual Basic for Applications |
---|
|
See Also