Partager via


CReplicationRoute Class

Administers individual replication routes for Commerce Server Staging (CSS) projects.

Note

Routes can be used only to stage Web content and business data projects. If a route includes more than one server, you must create the route on every server in the route.

Methods

Method

Description

AddDestination

Adds a destination to a CSS route.

Commit

Commits changes that have been made to a CSS route.

Enum

Retrieves the properties that are defined for a CSS route.

EnumDestination

Retrieves the destinations that are defined for a CSS route.

Get

Gets the value of a property for a CSS route.

Put

Sets the value of a property for a CSS route.

RemoveDestination

Removes a destination server that was defined for a CSS route.

Properties

Property

Description

BaseDirectory

Gets or sets the base directory for a CSS route.

Name

Gets or sets the name of a CSS route.

Remarks

You can create a new CReplicationRoute object by calling the AddRoute method on the CReplicationServer object.

You can access the existing CReplicationRoute objects for a CSS server by calling the EnumRoutes method on the CReplicationServer object for that server.

The following table provides additional information about the CReplicationRoute class.

Assembly

CSSAPILib

Namespace

Microsoft.CommerceServer.Staging.Interop

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

Corresponding COM class

ReplicationRoute

CLSID

811BB8BE-0981-4AC6-AFCC-A71CB24A1927

ProgID

CssApi.ReplicationRoute

See Also

Other Resources

Commerce Server Staging Reference

CReplicationServer Class

Commerce Server Staging Reference