Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 1.0 API Reference

RefreshSchema method Next Page

ULConnection class


Represents a connection to an UltraLite.NET database.

Syntax

Visual Basic

NotInheritable Public Class ULConnection
Inherits Component

C#

public sealed class ULConnection :
Component

Remarks

To use the UltraLite Engine runtime of UltraLite.NET, set ULDatabaseManager.RuntimeType to the appropriate value before using any other UltraLite.NET API.

A connection to an existing database is opened using the ULConnection.Open.

You must open a connection before carrying out any other operation, and you must close the connection after you have finished all operations on the connection and before your application terminates. In addition, you must close all result sets and tables opened on a connection before closing the connection.

The schema of the database can be accessed using an open connection's ULConnection.Schema.

Implements: System.Data.IDbConnection, System.IDisposable

See also

ULConnection members
ULConnection constructor
ULConnection constructor
INVALID_DATABASE_ID field
ConnectionString property
ConnectionTimeout property
Database property
DatabaseID property
DatabaseManager property
GlobalAutoIncrementUsage property
LastIdentity property
Schema property
State property
SyncParms property
SyncResult property
BeginTransaction method
BeginTransaction method
ChangeDatabase method
ChangeEncryptionKey method
Close method
CountUploadRows method
CountUploadRows method
CreateCommand method
ExecuteTable method
ExecuteTable method
ExecuteTable method
GetLastDownloadTime method
GetNewUUID method
GrantConnectTo method
Open method
ResetLastDownloadTime method
RevokeConnectFrom method
RollbackPartialDownload method
StartSynchronizationDelete method
StopSynchronizationDelete method
Synchronize method
Synchronize method
InfoMessage event
StateChange event