Application.RepublishAssignments Method
Project Developer Reference |
Republishes the specified scope of assignments to Project Server.
Syntax
expression.RepublishAssignments(ShowDialog, ItemsScope, NotifyResources, OverwriteActuals, BecomeManager, NotificationText)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
ShowDialog | Optional | Boolean | True if Project displays the message type's corresponding dialog box. The default value is False. |
ItemsScope | Optional | Long | Specifies the scope of assignments to be published. Can be one of the following PjPublishScope constants: pjPublishScopeAll, pjPublishScopeDefault, pjPublishScopeSelected, or pjPublishScopeVisible. The default value is pjPublishScopeAll. |
NotifyResources | Optional | Boolean | True if Project notifies resources via e-mail. The default value is True. |
OverwriteActuals | Optional | Boolean | True if Project overwrites the existing actual values. The default value is False. |
BecomeManager | Optional | Boolean | True if Project sets the current project manager to become the manager of record for reporting status on the republished tasks. This argument only has an effect when multi-manager support is available. The default value is False. |
NotificationText | Optional | String | The main text of the message. |