The following properties are required for all active replications.
Name | Description |
ReplicationMethod | Set the ReplicationProject.ReplicationMethod property to "active" for push projects. |
Destination | This property is the name of the CAB file. |
LocalDirectory | This property is the name of the local directory used to send or receive the content. This property cannot be NULL. |
Flags | Set this property to 0 (zero). |
MapUrl (optional) | The name of the URL that maps to the local directory. For example, "http://www.microsoft.com/Cinemania" could map to the local directory "C:\Microsoft\Cinemania". |
ExcludeDir (optional) | The name of a directory to exclude from replication. |
MailTo (optional) | The name of the user to whom mail is sent if a replication completes. |
MailToFail (optional) | The name of the user to whom mail is sent if a replication fails. |
MailToSuccess (optional) | The name of the user to whom mail is sent if a replication succeeds. |
AfterSendScript (optional) | The script to execute after sending files. |
BeforeReceiveScript (optional) | The script to execute before receiving new files. |
BeforeSendScript (optional) | The script to execute before sending files. |
AfterReceiveScript (optional) | The script to execute after receiving files. |