RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLConnection Members

The following tables list the members exposed by TSQLConnection.

 
Name 
Description 
 
FComponentStyle is the field of the ComponentStyle read-only property. 
 
Name 
Description 
 
Called when an application uses a component interface. 
 
Called when an application releases a component interface. 
 
Copies the properties of an object to a destination object. 
 
Sets the private, internal storage for the Name property to the string passed in NewName. 
 
This is CheckConnection, a member of class TSQLConnection. 
 
This is CheckDisconnect, a member of class TSQLConnection. 
 
This is ConnectionOptions, a member of class TSQLConnection. 
 
Designates methods for storing an object's unpublished data on a stream such as a form file. 
 
Provides an interface for a method that reads and writes otherwise unpublished data. 
 
Provides the interface for a method that opens a connection. 
 
Provides the interface for a method that terminates the connection. 
 
Returns the owner of a child component being read from a stream. 
 
Returns the parent, or if there is no parent, returns the owner of a child component being read from a stream. 
 
Enumerates all child components. 
 
Returns the value of the Connected property. 
 
Returns a dataset, given its index in the DataSets property array. 
 
Returns the value of the DataSetCount property. 
 
Maps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs). 
 
Returns the owner of a component. 
 
Returns the owner of an object. 
 
Retrieves the type information for an object. 
 
Returns the number of type information interfaces that an object provides (either 0 or 1). 
 
Provides access to Automation properties and methods when the component wraps an Automation object. 
 
Initializes the connection component after all objects in the form or data module have been loaded. 
 
Forwards notification messages to all owned components. 
 
This is the overview for the OpenSchema method overload. 
 
Responds when the component is created from the component palette. 
 
Returns a reference to a specified interface if the object supports that interface. 
 
Reads the state of the component. 
 
Registers an object that uses the connection component. 
 
Informs all registered clients that use the connection component when a connection is opened or closed. 
 
Clears or sets csAncestor state in the component's ComponentState property. 
 
Sets the visual ordering of a child control. 
 
Changes the value of the Connected property. 
 
Ensures that components inserted at design time have their design-mode flag set. 
 
Ensures that components inserted at design time have their design-mode flag set. 
 
Sets the csInline bit of the component's ComponentState property 
 
Sets the value of the Name property. 
 
Sets the parent component. 
 
This is SQLError, a member of class TSQLConnection. 
 
Removes a registered client so that it is no longer associated with the connection component. 
 
Clears the csUpdating state in the component's ComponentState property when the component finishes updating. 
 
Provides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces. 
 
Sets the csUpdating state in the component's ComponentState property. 
 
Determines whether an object can be inserted into a container. 
 
Provides the interface for a method that validates an child component before it is inserted. 
 
Ensures that renaming an owned component does not create name conflict. 
 
Writes the state of the component. 
 
Name 
Description 
 
This is ConnectionRegistryFile, a member of class TSQLConnection. 
 
This is QuoteChar, a member of class TSQLConnection. 
 
This is SQLDllHandle, a member of class TSQLConnection. 
 
Indicates whether the Connected property was true when the connection component was loaded from a stream. 
 
Name 
Description 
 
Provides access to the callback function that executes for every SQL command passed to or from the server. 
 
Name 
Description 
 
Increments the reference count for this interface. 
 
Decrements the reference count for this interface. 
 
This is AddConnectNotification, a member of class TSQLConnection. 
 
Responds after the last constructor has executed. 
 
Copies the contents of another, similar object. 
 
Performs any necessary actions before the first destructor is called. 
 
Responds before the first destructor executes. 
 
This is the overview for the BeginTransaction method overload. 
 
Returns a pointer to the runtime type information (RTTI) table for the object type. 
 
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). 
 
Determines whether an object is of a specific type. 
 
Returns the type of the immediate ancestor of a class. 
 
Returns the class reference for the object's class. 
 
Performs finalization on long strings, variants, and interface variables within a class. 
 
Returns a copy of the SQL connection object. 
 
Closes the connection. 
 
Closes all datasets associated with the SQL connection object component without disconnecting from the database. 
 
Commits an open transaction. 
 
Commits an open transaction. 
 
Creates and initializes an instance TSQLConnection
 
Provides the interface for a method that processes message records. 
 
Destroys the SQL connection object. 
 
Destroys all owned components. 
 
Indicates that the component and its owned components are about to be destroyed. 
 
Calls message-handling methods for the object, based on the contents of the Message parameter. 
 
Checks if the current instance and the parameter are equal. 
 
Executes an SQL command on the server. 
 
Executes an action. 
 
Executes an SQL command that does not include parameters. 
 
This is the overview for the FieldAddress method overload. 
 
Indicates whether a given component is owned by the component. 
 
Free 
Destroys an object and frees its associated memory, if necessary. 
 
Deallocates memory allocated by a previous call to the System::TObject::NewInstance method. 
 
Ensures that AComponent is notified that the component is going to be destroyed. 
 
Frees the interface reference for components that were created from COM classes. 
 
This is GetCommandTypes, a member of class TSQLConnection. 
 
Returns a reference to the component associated by the implementing class. 
 
Returns the default schema name of the current object. 
 
Returns a TComponent enumerator. 
 
This is the overview for the GetFieldNames method overload. 
 
Returns an integer containing the hash code. 
 
This is the overview for the GetIndexNames method overload. 
 
Retrieves a specified interface. 
 
Returns the entry for a specific interface implemented in a class. 
 
Returns a pointer to a structure containing all of the interfaces implemented by a given class. 
 
Returns the username that is logged in on the current connection. 
 
Returns a string used by the Object Inspector. 
 
Returns the name of the object as it appears in the Object Inspector. 
 
This is the overview for the GetPackageNames method overload. 
 
Returns the containing Component. 
 
This is the overview for the GetProcedureNames method overload. 
 
This is the overview for the GetProcedureParams method overload. 
 
This is the overview for the GetSchemaNames method overload. 
 
This is GetServerMethodNames, a member of class TSQLConnection. 
 
This is the overview for the GetTableNames method overload. 
 
Verifies whether the component has a parent. 
 
This is HasTransaction, a member of class TSQLConnection. 
 
Determines the relationship of two object types. 
 
Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. 
 
Establishes the component as the owner of a specified component. 
 
Returns the size in bytes of each instance of the object type. 
 
Indicates whether the component implements a specified interface. 
 
Sets the DriverName and Params properties to the values associated with the ConnectionName property. 
 
This is the overview for the MethodAddress method overload. 
 
Returns the name of a class method by address. 
 
Allocates memory for an instance of an object type and returns a pointer to that new instance. 
 
Open 
Opens the connection. 
 
Returns a reference to a specified interface if the object supports that interface. 
 
Establishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed. 
 
Removes a specified component specified from the component's Components list. 
 
This is RemoveConnectNotification, a member of class TSQLConnection. 
 
Disables destruction notification that was enabled by FreeNotification 
 
Cancels all updates, insertions, and deletions for a specified transaction and ends the transaction. 
 
Cancels all updates, insertions, and deletions for a specified transaction and ends the transaction. 
 
Cancels all updates, insertions, and deletions for a specified transaction and ends the transaction. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Identifies whether the component is a subcomponent. 
 
Associates the SQL connection with a callback function that executes for every SQL command passed to or from the server. 
 
Initiates a new transaction in the associated database. 
 
Returns a string containing the class name. 
 
Returns a string containing the unit name. 
 
Updates the state of an action. 
 
Name 
Description 
 
Indicates the number of statements currently active with the database server. 
 
Specifies whether the SQL connection automatically clones database connections when they are needed. 
 
Specifies the interface reference implemented by the component. 
 
Indicates the number of components owned by the component. 
 
Indicates the position of the component in its owner's Components property array. 
 
Lists all components owned by the component. 
 
Describes the current state of the component, indicating when a component needs to avoid certain actions. 
 
Governs the behavior of the component. 
 
This is ConnectionData, a member of class TSQLConnection. 
 
Indicates the current state of the TSQLConnection object. 
 
Indicates the number of datasets associated with the connection component. 
 
Lists all active datasets for the connection component. 
 
Provides an interface to the dbExpress object that represents a connection. 
 
Contains information used by the Form designer. 
 
Indicates whether a transaction is in progress. 
 
Identifies the locale that is used for sorting items from datasets that use this connection. 
 
Indicates the server limit on the number of statements supported by a single database connection. 
 
Provides an interface to the dbExpress object that supplies server metadata. 
 
Indicates whether the database server supports multiple transactions. 
 
Indicates the component that is responsible for streaming and freeing this component. 
 
Indicates when parameter values have been loaded from dbxconnections.ini. 
 
Specifies whether the cursor should change to crSQLWait during lengthy operations. 
 
Indicates whether the database server supports transactions. 
 
Represents information used internally by components that support COM. 
 
Name 
Description 
 
Occurs after a connection is established. 
 
Occurs after the connection closes. 
 
Occurs immediately before establishing a connection. 
 
Occurs immediately before the connection closes. 
 
Occurs after the BeforeConnect event and before a connection is established. 
 
Name 
Description 
 
Specifies whether the connection is active. 
 
Names the connection configuration. 
 
Specifies the database driver associated with the SQL connection. 
 
Specifies the function that returns the top-level dbExpress driver. 
 
Specifies whether the connection stays active when no datasets are open. 
 
Specifies the dbExpress driver that TSQLConnection uses to establish a connection. 
 
Specifies whether the TSQLConnection component loads the configuration named by ConnectionName immediately before connecting to the server. 
 
Specifies whether a login dialog appears immediately before opening a new connection. 
 
Name 
Specifies the name of the component as referenced in code. 
 
Lists the connection parameters. 
 
Indicates what types of tables are returned when fetching schema information about tables. 
 
Tag 
Stores an integer value as part of a component. 
 
Specifies the client software library (DLL or shared object) supplied by the database vendor. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!