State Property

This read-only property specifies the current state of the replication.

Syntax

ReplicationInstance.State

Remarks

The states are:

State Value Description
REPL_STATE_EMPTY 0 Invalid state.
REPL_STATE_STARTING 1 Replication starting.
REPL_STATE_RUNNING 2 Replication running.
REPL_STATE_COMPLETE 3 Replication completed successfully.
REPL_STATE_ABORTED 4 Replication aborted with an error.
REPL_STATE_CANCELED 5 Replication canceled.
REPL_STATE_RECEIVING 6 Replication receiving.
REPL_STATE_PENDING 7 Replication pending.

Example

See the Cancel method.

See Also

Status


© 1997-1998 Microsoft Corporation. All rights reserved.