Bde.DBTables.TSession Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
_AddRef protected Called when an application uses a component interface.
_Release protected Called when an application releases a component interface.
AddAlias public Adds a specified Borland Database Engine (BDE) alias to the session for an SQL database server.
AddDriver public Adds a specified Borland Database Engine (BDE) driver to the session for an SQL database server.
AddPassword public Adds a password to the current session for accessing encrypted Paradox or dBase tables.
AddStandardAlias public Adds a standard Borland Database Engine (BDE) alias to the session for Paradox, dBASE, or ASCII tables.
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.
CanObserve protected
ChangeName protected Sets the private, internal storage for the Name property to the string passed in NewName.
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.
Close public Disconnects from all databases, and closes the session.
CloseDatabase public Closes a database connection associated with the current session.
Create public Creates an instance of a TSession component.
DefaultHandler public Provides the interface for a method that processes message records.
DefineProperties protected Designates methods for storing an object's unpublished data on a stream such as a form file.
DeleteAlias public Removes a specified Borland Database Engine (BDE) alias from the session.
DeleteDriver public Removes a specified Borland Database Engine (BDE) driver from the session.
Destroy public Destroys the instance of a session component.
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.
DropConnections public Frees all temporary database components associated with a session if they are inactive.
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.
ExecuteAction public Executes an action.
FieldAddress public Returns the address of a published object field.
FindComponent public Indicates whether a given component is owned by the component.
FindDatabase public Searches a session's list of database components for a specified database.
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.
GetAliasDriverName public Provides the name of the database driver used by a specified Borland Database Engine (BDE) alias associated with the session.
GetAliasNames public Populates a string list with the names of persistent Borland Database Engine (BDE) aliases.
GetAliasParams public Retrieves the parameters associated with a specified Borland Database Engine (BDE) alias.
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.
GetConfigParams public Retrieves Borland Database Engine (BDE) configuration information.
GetDatabaseNames public Populates a string list with the names of persistent Borland Database Engine (BDE) aliases and the names of all databases components known to the session.
GetDeltaStreams protected
GetDisposed protected Getter for the Disposed property.
GetDriverNames public Populates a string list with the names of all Borland Database Engine (BDE) drivers available to the session.
GetDriverParams public Populates a string list with the parameters for a specified Borland Database Engine (BDE) driver.
GetEnumerator public Returns a TComponent enumerator.
GetFieldNames public Populates a string list with the names of all fields in a specified 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).
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.
GetNamePath public Returns a string used by the Object Inspector.
GetObservers protected Getter of Observers.
GetOwner protected Returns the owner of a component.
GetParentComponent public Returns the containing component.
GetPassword public Invokes the OnPassword event handler for the session or displays the default password dialog box.
GetStoredProcNames public Populates a string list with the names of all stored procedures associated with a specified database component that is connected to an SQL database server.
GetTableNames public Populates a string list with the names of tables associated with a specified database component.
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.
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.
IsAlias public Determines whether or not a string value corresponds to an existing Borland Database Engine (BDE) database alias known to the session.
IsImplementorOf public Indicates whether the component implements a specified interface.
Loaded protected
MethodAddress public Returns the address of a class method by name.
MethodName public Returns the name of a class method by address.
ModifyAlias public Adds or changes parameters for a Borland Database Engine (BDE) alias.
ModifyConfigParams protected
ModifyDriver public Adds or changes parameters for a Borland Database Engine (BDE) driver.
NewInstance public Allocates memory for an instance of an object type and returns a pointer to that new instance.
Notification protected
ObserverAdded protected
Open public Starts a session and makes it the current session.
OpenDatabase public Opens an existing database, or creates a temporary database component and opens it.
operator () public
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.
RemoveAllPasswords public Deletes all passwords previously added to the current session for accessing encrypted Paradox tables.
RemoveComponent public Removes a specified component specified from the component's Components list.
RemoveFreeNotification public Disables the destruction notification that was enabled by FreeNotification.
RemoveFreeNotifications protected Notifies all owned components of the owner component's imminent destruction.
RemovePassword public Deletes a single password previously added to the current session for accessing an encrypted Paradox table.
SafeCallException public Handles exceptions in methods declared using the safecall calling convention.
SaveConfigFile public Writes the current information in the Borland Database Engine (BDE) persistent store from memory to the BDE configuration file on disk.
SetAncestor protected Clears or sets csAncestor state in the component's ComponentState property.
SetChildOrder protected Sets the visual ordering of a child control.
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
SetParentComponent protected Sets the parent component.
SetSubComponent public Identifies whether the component is a subcomponent.
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.
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.


Retrieved from "https://docwiki.embarcadero.com/Libraries/Tokyo/e/index.php?title=Bde.DBTables.TSession_Methods&oldid=264302"