Data.SqlExpr.TSQLConnection Methods
InheritedProtected
_AddRef | protected | Called when an application uses a component interface. |
_Release | protected | Called when an application releases a component interface. |
AddConnectNotification | public | Registers a listener object that uses the connection component. |
AfterConstruction | public | Responds after the last constructor has executed. |
Assign | public | Copies the contents of another similar object. |
AssignTo | protected | Copies the properties of an object to a destination object. |
AsyncSchedule | protected | Schedules asynch method calls. |
BeforeDestruction | public | Performs any necessary actions before the first destructor is called. |
BeginInvoke | public | Performs an asynchronous call to the method specified by either AProc or AFunc . |
BeginTransaction | public | Initiates a new transaction in the associated database. |
CanObserve | protected | |
ChangeName | protected | Sets the private, internal storage for the Name property to the string passed in NewName . |
CheckConnection | protected | Performs connection-specific actions according to the given flag. |
CheckDisconnect | protected | Checks whether it is possible to close the SQL connection, and terminates if so. |
CheckDisposed | protected | |
ClassInfo | public | Returns a pointer to the run-time type information (RTTI) table for the object type. |
ClassName | public | Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). |
ClassNameIs | public | Determines whether an object is of a specific type. |
ClassParent | public | Returns the type of the immediate ancestor of a class. |
ClassType | public | Returns the class reference for the object's class. |
CleanupInstance | public | Performs finalization on long strings, variants, and interface variables within a class. |
CloneConnection | public | Returns a copy of the SQL connection object. |
Close | public | Closes the connection. |
CloseDataSets | public | Closes all datasets associated with the SQL connection object component without disconnecting from the database. |
Commit (deprecated) | public | Commits an open transaction. |
CommitFreeAndNil | public | Commits an open transaction. |
ConnectionOptions | protected | Sets connection options. |
Create | public | Creates and initializes an instance TSQLConnection. |
DefaultHandler | public | Provides the interface for a method that processes message records. |
DefineProperties | protected | Used internally by the streaming system. |
Destroy | public | Destroys the SQL connection object. |
DestroyComponents | public | Destroys all owned components. |
Destroying | public | Indicates that the component and its owned components are about to be destroyed. |
Dispatch | public | Calls message-handling methods for the object, based on the contents of the Message parameter. |
DisposeOf | public | DisposeOf forces the execution of the destructor code in an object. |
DoConnect | protected | Provides the interface for a method that opens a connection. |
DoDisconnect | protected | Provides the interface for a method that terminates the connection. |
EndFunctionInvoke | public | Blocks the caller until the specified ASyncResult completes. |
EndInvoke | public | Blocks the caller until the specified ASyncResult completes. |
Equals | public | Checks whether the current instance and the Obj parameter are equal. |
Execute | public | Executes an SQL command on the server. |
ExecuteAction | public | Executes an action. |
ExecuteDirect | public | Executes an SQL command that does not include parameters. |
FieldAddress | public | Returns the address of a published object field. |
FindComponent | public | Indicates whether a given component is owned by the component. |
Free | public | Destroys an object and frees its associated memory, if necessary. |
FreeInstance | public | Deallocates memory allocated by a previous call to the NewInstance method. |
FreeNotification | public | Ensures that AComponent is notified that the component is going to be destroyed. |
FreeOnRelease | public | Frees the interface reference for components that were created from COM classes. |
GetChildOwner | protected | Returns the owner of a child component being read from a stream. |
GetChildParent | protected | Returns the parent or, if there is no parent, returns the owner of a child component being read from a stream. |
GetChildren | protected | Enumerates all child components. |
GetCommandTypes | public | Populates a string list with command types. |
GetConnected | protected | Returns the value of the Connected property. |
GetDataSet | protected | Returns a dataset, given its index in the DataSets property array. |
GetDataSetCount | protected | Returns the value of the DataSetCount property. |
GetDefaultSchemaName | public | Returns the default schema name of the current object. |
GetDeltaStreams | protected | |
GetDisposed | protected | Getter for the Disposed property. |
GetEnumerator | public | Returns a TComponent enumerator. |
GetFieldNames | public | Populates a string list with the names of fields in a table. |
GetHashCode | public | Returns an integer containing the hash code. |
GetIDsOfNames | protected | Maps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs). |
GetIndexNames | public | Populates a string list with the names of indexes on a table. |
GetInterface | public | Retrieves a specified interface. |
GetInterfaceEntry | public | Returns the entry for a specific interface implemented in a class. |
GetInterfaceTable | public | Returns a pointer to a structure containing all of the interfaces implemented by a given class. |
GetLoginUsername | public | Returns the user name logged in on the current connection. |
GetNamePath | public | Returns a string used by the Object Inspector. |
GetObservers | protected | Getter of Observers. |
GetOwner | protected | Returns the owner of a component. |
GetPackageNames | public | Populates a string list with the names of all packages defined on the server. |
GetParentComponent | public | Returns the containing component. |
GetProcedureNames | public | Populates a string list with the names of stored procedures in the database. |
GetProcedureParams | public | Populates a list with parameter descriptors for the parameters in a stored procedure. |
GetSchemaNames | public | Returns the schema names for all objects in the given data source. |
GetServerMethodNames | public | Populates a string list with the names of the server methods. |
GetTableNames | public | Populates a string list with the names of tables in the database. |
GetTypeInfo | protected | Retrieves the type information for an object. |
GetTypeInfoCount | protected | Returns the number of type information interfaces that an object provides (either 0 or 1). |
HasParent | public | Verifies whether the component has a parent. |
HasTransaction | public | Returns whether the SQL connection has the specified transaction in the database. |
InheritsFrom | public | Determines the relationship of two object types. |
InitInstance | public | Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. |
InsertComponent | public | Establishes the component as the owner of a specified component. |
InstanceSize | public | Returns the size in bytes of each instance of the object type. |
Invoke | protected | Provides access to Automation properties and methods when the component wraps an Automation object. |
IsImplementorOf | public | Indicates whether the component implements a specified interface. |
Loaded | protected | Initializes the connection component after all objects in the form or data module have been loaded. |
LoadParamsFromIniFile | public | Sets the DriverName and Params properties to the values associated with the ConnectionName property. |
MethodAddress | public | Returns the address of a class method by name. |
MethodName | public | Returns the name of a class method by address. |
NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
Notification | protected | Forwards notification messages to all owned components. |
ObserverAdded | protected | |
Open | public | Opens the connection. |
OpenSchema | protected | Retrieves schema information from the connection's provider. |
operator () | public | C++ conversion of a TComponent into a System.Classes.IInterfaceComponentReference or a System.IInterface, depending on casting. |
PaletteCreated | protected | Responds when the component is created from the component palette. |
QualifiedClassName | public | Returns the qualified name of the class. |
QueryInterface | protected | Returns a reference to a specified interface if the current component supports that interface. |
ReadState | protected | Reads the state of the component. |
ReferenceInterface | public | Establishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed. |
RegisterClient | protected | Registers an object that uses the connection component. |
RemoveComponent | public | Removes a specified component specified from the component's Components list. |
RemoveConnectNotification | public | Removes a registered client listener object so that it is no longer associated with the connection component. |
RemoveFreeNotification | public | Disables the destruction notification that was enabled by FreeNotification. |
RemoveFreeNotifications | protected | Notifies all owned components of the owner component's imminent destruction. |
Rollback (deprecated) | public | Cancels all updates, insertions, and deletions for a specified transaction and ends the transaction. |
RollbackFreeAndNil | public | Cancels all updates, insertions, and deletions for a specified transaction and ends the transaction. |
RollbackIncompleteFreeAndNil | public | Cancels all updates, insertions, and deletions for a specified transaction and ends the transaction. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
SendConnectEvent | protected | Informs all registered clients that use the connection component when a connection is opened or closed. |
SetAncestor | protected | Clears or sets csAncestor state in the component's ComponentState property. |
SetChildOrder | protected | Sets the visual ordering of a child control. |
SetConnected | protected | Changes the value of the Connected property. |
SetDesigning | protected | Ensures that components inserted at design time have their design-mode flag set. |
SetDesignInstance | protected | Ensures that components inserted at design time have their design-mode flag set. |
SetInline | protected | Sets the csInline bit of the component's ComponentState property. |
SetName | protected | Sets the value of the Name property. |
SetParentComponent | protected | Sets the parent component. |
SetSubComponent | public | Identifies whether the component is a subcomponent. |
SetTraceEvent | public | Associates the SQL connection with a callback function that executes for every SQL command passed to or from the server. |
StartTransaction (deprecated) | public | Initiates a new transaction in the associated database. |
ToString | public | Returns a string containing the class name. |
UnitName | public | Returns the name of the unit where the class is defined. |
UnitScope | public | Returns the class's unit scope. |
UnRegisterClient | protected | Removes a registered client so that it is no longer associated with the connection component. |
UpdateAction | public | Updates the state of an action. |
Updated | protected | Clears the csUpdating state in the component's ComponentState property when the component finishes updating. |
UpdateRegistry | protected | Provides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces. |
Updating | protected | Sets the csUpdating state in the component's ComponentState property. |
ValidateContainer | protected | Determines whether an object can be inserted into a container. |
ValidateInsert | protected | Provides the interface for a method that validates a child component before it is inserted. |
ValidateRename | protected | Ensures that renaming an owned component does not create a name conflict. |
WriteState | protected | Writes the state of the component. |