次の方法で共有


CReplicationInstance.Status Property

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

Gets a value that indicates whether the replication project succeeded or failed, and the reason for its failure, if it failed.

object Status { get; }

Return Value

A read-only numeric value that indicates either that a replication completed successfully or the reason why it failed. A return value of 0 (zero) indicates that the replication project completed successfully. Any other return value is an error code that specifies why the replication project did not complete successfully. For a list of error codes, see CSS API Error Handling.

For a code example, see the EnumReplications method.

The CReplicationInstance.Status property corresponds to the COM property named ReplicationInstance.Status.

See Also

Other Resources

CSS API Error Handling

CReplicationInstance Class