Minute Property

This property specifies the minute when the scheduled project is run.

Syntax

ReplicationSchedule.Minute[=Minute]

Parameters

Minute

The minute when the scheduled project is run.

Remarks

Example

The following example runs MyProject on Saturdays at 8:30 A.M.

Option Explicit 
On Error Resume Next 

const OPEN_EXISTING_PROJECT  = 2
const CRS_SCHEDULE_SATURDAY  = 32

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_SATURDAY
RepSched.Hour = "8"
RepSched.Minute = "30"

'Release objects
set Sched       = Nothing
set ReplProject = Nothing
set ReplServer  = Nothing

See Also

Hour, ReplicationProject.AddSchedule, ReplicationProject.EnumSchedules


© 1997-1998 Microsoft Corporation. All rights reserved.