Represents a connection to an UltraLite database.
' Visual Basic
NotInheritable Public Class Connection
// C#
public sealed class Connection
This class cannot be directly instantiated. Connections are instantiated and opened using OpenConnection method or if the database does not yet exist, CreateDatabase method.
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. You must close all tables opened on a connection before closing the connection.
When a SQLException is thrown, the error code in the exception supercedes the error code in LastSQLCode property or the values of IsLastFetchOK property and IsLastCodeOK property.
Connection members
AutoCommit field
INVALID_DATABASE_ID field
ConnectionOpenParms property
DatabaseID property
GlobalAutoIncrementUsage property
IsDatabaseNew property
IsLastCodeOK property
IsLastFetchOK property
IsOpen property
LastIdentity property
LastSQLCode property
Schema property
SyncParms property
SyncResult property
ChangeEncryptionKey method
Close method
Commit method
CountUploadRows method
CountUploadRows method
Finalize method
GetLastDownloadTime method
GetNewUUID method
GetTable method
GrantConnectTo method
PrepareStatement method
ResetLastDownloadTime method
RevokeConnectFrom method
Rollback method
RollbackPartialDownload method
StartSynchronizationDelete method
StopSynchronizationDelete method
Synchronize method
Synchronize method
SQL Anywhere Studio 9.0.2
Copyright © 1989–2004 Sybase, Inc. Portions copyright © 2001–2004 iAnywhere Solutions, Inc. All rights reserved.