This property specifies the date when a nonrecurring schedule is run.
Syntax
ReplicationSchedule.RunOnce
Remarks
Use the IsRunOnce property to determine whether this property is set.
Example
The following example runs the Test project on July 4, 1998.
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 = #July, 4, 1998#
'Release object
set Sched = Nothing
set ReplProject = Nothing
set ReplServer = Nothing
See Also