This property specifies the date and time when a non-recurring schedule is run.
Syntax
ReplicationSchedule.RunOnce[=Date]
Parameters
Date
The date and time when the scheduled project is run.
Remarks
Example
The following example runs the Test project on July 4, 1998 at noon.
Option Explicit
On Error Resume Next
const OPEN_EXISTING_PROJECT = 2
dim ReplServer
set ReplServer = CreateObject("CrsApi.ReplicationServer")
ReplServer.Initialize("")
dim ReplProject
set ReplProject = ReplServer.OpenProject("MyProject", OPEN_EXISTING_PROJECT)
dim RepSched
set RepSched = ReplProject.AddSchedule
RepSched.RunOnce = "7/4/98 12:00"
'Release object
set Sched = Nothing
set ReplProject = Nothing
set ReplServer = Nothing
See Also