Name
Record.CopyRecord Method — (Versions 2.5, 2.6)
Synopsis
record.CopyRecord (Source, _Destination, _UserName, _Password, _Options, _Async) As String
The CancelBatch is a member method of the Recordset object that cancels the currently pending batch update.
Arguments
-
Source(String) Optional. Indicates the URL of a resource to be copied. If this argument is omitted, then the resource represented by the current Record object is copied.
-
Destination(String) Optional. Represents a URL value that indicates where the resource will be copied to.
-
UserName(String) Optional. Indicates, if necessary, the username that will be used to access the resource indicated by the
Destinationargument.
-
Password(String) Optional. Indicates, if necessary, the password to verify the
UserNameargument.
-
Options(CopyRecordOptionsEnum) Optional. Indicates the behavior of the copy operation. The default value for this argument is
adCopyUnspecified.
-
Async(Boolean) Optional. Indicates whether this operation should be executed asynchronously.
Returns
String
Description
By default, the CopyRecord method will not overwrite a resource that
already exists. To force the replacement of the destination resource,
use the adCopyOverWrite option.
By default, the CopyRecord method will copy all subdirectories and
files beneath the source resource unless the
adCopyNonRecursive option is specified.
If the source and the destination resources are identical, an error will occur. If the destination resource is a child of the source ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access