Jaa


CReplicationInstance Class

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

Provides access to individual replication instances for a Commerce Server Staging (CSS) project. This class is most frequently used to query and report information about the results of a replication.

Methods

Method

Description

Cancel

Cancels the running replication.

Query

Updates the information about a replication that was initiated for a CSS project.

Properties

All the properties listed in the following table are read-only.

Property

Description

BytesReceived

Gets the number of bytes that were received during the replication of a CSS project.

BytesSent

Gets the number of bytes that were sent during the replication of a CSS project.

EndTime

Gets the time when the replication of a CSS project ended.

FilesErrored

Gets the number of files that incurred errors during the replication of a CSS project.

FilesErroredBytes

Gets the number of bytes associated with the files that incurred errors during the replication of a CSS project.

FilesMatched

Gets the number of files that were matched during the replication of a CSS project.

FilesMatchedBytes

Gets the number of bytes associated with the files that were matched during the replication of a CSS project.

FilesReceived

Gets the number of files that were received during the replication of a CSS project.

FilesSent

Gets the number of files that were sent during the replication of a CSS project.

Flags

Gets the flags that were used to start the replication of a CSS project.

ID

Gets the identifier that is assigned to a replication of a CSS project.

Name

Gets the CSS project name associated with the replication instance.

StartTime

Gets the time when the replication of a CSS project started.

State

Gets the current state of a replication for a CSS project.

Status

Gets the current status of the replication.

Remarks

You can access all the CReplicationInstance objects on a CSS server by calling the EnumReplications method on the CReplicationServer object.

You can access all the CReplicationInstance objects for a CSS project by calling the EnumReplications method on the CReplicationProject object.

To make sure that you have the latest information for a CReplicationInstance object, use the Query method.

The following table provides additional information about this class.

Assembly

CSSAPILib

Namespace

Microsoft.CommerceServer.Staging.Interop

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

Corresponding COM class

ReplicationInstance

CLSID

808F1D84-3B7C-4F0F-AB2C-A8C91EBA4C37

ProgID

CssApi.ReplicationInstance

See Also

Other Resources

Commerce Server Staging Reference

CReplicationServer Class

CReplicationProject Class

Commerce Server Staging Reference