Xbasic

SQL::DatabaseSnapshot Load Method

Syntax

L Load (Connection as SQL::Connection [, Schema as SQL::Schema [, EventScript as C] ])

Arguments

ConnectionSQL::Connection

An explicit, open AlphaDAO connection string to the database.

SchemaSQL::Schema

Optional. A SQL::Schema object that is used as a reference to create the snapshot. The schema can be used to selectively add or remove tables to the snapshot.

EventScriptCharacter

Optional. A string that contains an Xbasic event script that is executed when an event is triggered during the operation. See DatabaseSnapshot Events for additional information.

Description

Load definitions and data from an open database connection.

Discussion

Returns true if the load succeeded and false if an error occurred.

See Also