CReplicationSchedule Class

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Manages the frequency and schedule of replications for a Commerce Server Staging (CSS) project.

Methods

Method

Description

Commit

Commits changes that were made to a CSS project schedule.

Remove

Deletes a schedule from a CSS project.

Properties

Property

Description

Days

Gets or sets the days of the week for a recurring schedule that is defined for a CSS project.

Description

Gets the description of a schedule that is defined for a CSS project.

Hour

Gets or sets the hour for a recurring schedule that is defined for a CSS project.

IsRunOnce

Gets a value that indicates whether a nonrecurring schedule has been defined (the RunOnce property was set) for a CSS project.

Minute

Gets or sets the minute for a recurring schedule that is defined for a CSS project.

Project

Gets or sets the name of the project for which the schedule is defined.

RunOnce

Gets or sets the date and time for a nonrecurring schedule.

ScheduledAction

Gets or sets a value that indicates whether the schedule will initiate a replication or issue an Apply command for timed release of Web content projects.

Remarks

Schedules define when replications of projects are initiated. Schedules can be recurring or nonrecurring (that is, run only one time).

The replication of Web content projects supports several scheduling options. These options are described in Web Content Staging Options.

You can create a new CReplicationSchedule object by calling the AddSchedule method on the CReplicationProject object.

You can access the existing CReplicationSchedule objects for a project by calling the EnumSchedules method on the CReplicationProject object for that project.

The following table provides additional information about the CReplicationSchedule class.

Assembly

CSSAPILib

Namespace

Microsoft.CommerceServer.Staging.Interop

Bb520930.alert_note(en-US,CS.70).gifNote:
You must also add a using directive for the System.ServiceProcesses namespace.

Corresponding COM class

ReplicationSchedule

CLSID

83E9A5EA-4154-46BF-AD03-B6A122A77E24

ProgID

CssApi.ReplicationSchedule

See Also

Other Resources

Commerce Server Staging Reference

Web Content Staging Options

How to Manage Staging Schedules

CReplicationProject Class

Commerce Server Staging Reference