Name

CopyRecordOptionsEnum Enumeration — (Versions 2.5, 2.6)

Synopsis

The CopyRecordOptionsEnum enumeration indicates the behavior of the CopyRecord method.

Table E-12. The CopyRecordOptionsEnum Enumeration

Enumeration

Value

Description

adCopyAllowEmulation
4

Indicates that the CopyRecord method will attempt to simulate the copy using the downloaded and uploaded operations if the method fails due to the Destination being on a different server or being serviced by a different provider than the Source.

adCopyNonRecursive
2

Indicates that the CopyRecord method copies only the current directory and its subdirectories.

adCopyOverWrite
1

Indicates that the CopyRecord method will overwrite the file or directory specified as the Destination, if it already exists.

adCopyUnspecified
-1 (&HFFFFFFFF)

Default. Indicates that the CopyRecord method will copy all of the subdirectories and files of the current directory and that it will not overwrite existing files and directories if they already exist.

ADO/WFC

The ADCPROP_UPDATERESYNC_ENUM enumeration does not have ADO/WFC constants.

See Also

Record.CopyRecord Method

Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.