This property specifies a description of the schedule.
Syntax
ReplicationSchedule.Description[=Description]
Parameters
Description
A text string describing the schedule.
Remarks
Example
The following example adds a description to the new schedule for project Test.
Option Explicit
On Error Resume Next
const OPEN_EXISTING_PROJECT = 2
const CRS_SCHEDULE_DAY_SUNDAY = 64
dim ReplServer
set ReplServer = CreateObject("CrsApi.ReplicationServer")
ReplServer.Initialize("")
dim ReplProject
set ReplProject = ReplServer.OpenProject("Test", OPEN_EXISTING_PROJECT)
dim RepSched
set RepSched = ReplProject.AddSchedule
RepSched.Days = CRS_SCHEDULE_DAY_SUNDAY
RepSched.Hour = "1"
RepSched.Description = "Run every Sunday at 1AM"
'Release objects
set Sched = Nothing
set ReplProject = Nothing
set ReplServer = Nothing
See Also
ReplicationProject.AddSchedule, ReplicationProject.EnumSchedules