UpdateProjectToWeb Method
Updates or adds the active project to Project Server.
Syntax
expression**.UpdateProjectToWeb(ServerURL, EmbedProjectFile, OnlyRegisterProject, WaitForCompletion)**
*expression * Optional. An expression that returns an Application object.
ServerURL Optional String. The URL of Project Server. If ServerURLis not specified, the value of the ServerURL property will be used.
EmbedProjectFile Optional Boolean. True if Project embeds a project file when updating the project to Project Server.
OnlyRegisterProject Optional Boolean. True if Project only registers a project with Project Server.
WaitForCompletion Optional Boolean. True if Project waits until the registration is complete before returning notification that the operation was successful or returning an error code if the operation failed. The default value is False.
Remarks
If no value has been specified for either ServerURL or the ServerURL property, the UpdateProjectToWeb method returns a trappable error (error code 1100).
Applies to | Application Object
See Also | OptionsWorkgroup Method | PublishProjectPlan Method | RegisterProject Method