CReplicationInstance Class
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 |
---|---|
Cancels the running replication. |
|
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 |
---|---|
Gets the number of bytes that were received during the replication of a CSS project. |
|
Gets the number of bytes that were sent during the replication of a CSS project. |
|
Gets the time when the replication of a CSS project ended. |
|
Gets the number of files that incurred errors during the replication of a CSS project. |
|
Gets the number of bytes associated with the files that incurred errors during the replication of a CSS project. |
|
Gets the number of files that were matched during the replication of a CSS project. |
|
Gets the number of bytes associated with the files that were matched during the replication of a CSS project. |
|
Gets the number of files that were received during the replication of a CSS project. |
|
Gets the number of files that were sent during the replication of a CSS project. |
|
Gets the flags that were used to start the replication of a CSS project. |
|
Gets the identifier that is assigned to a replication of a CSS project. |
|
Gets the CSS project name associated with the replication instance. |
|
Gets the time when the replication of a CSS project started. |
|
Gets the current state of a replication for a CSS project. |
|
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
Note:
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 |