Previous in Contents Next in Contents

EndTime Property

This property specifies the time when the replication finished.

Syntax

ReplicationInstance.EndTime

Remarks

EndTime fails or succeeds depending upon the state of the replication. The following table explains this behavior.

State ReplicationInstance.StateProperty value EndTime behavior
Starting 1 Sets Err.Number to E_FAIL.
Running 2 Sets Err.Number to E_FAIL.
Receiving 6 Sets Err.Number to E_FAIL.
Pending 7 Sets Err.Number to E_FAIL.
Complete 3 Sets Err.Number to NOERROR and returns the time.
Aborted 4 Sets Err.Number to NOERROR and returns the time.
Canceled 5 Sets Err.Number to NOERROR and returns the time.

Example

See the Query method.

See Also

Cancel, StartTime


© 1997-2000 Microsoft Corporation. All rights reserved.