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 » ULDatabaseSchema class

GetTableName method Next Page

SetDatabaseOption method


Sets the value for the specified database option.

Syntax

Visual Basic

Public Sub SetDatabaseOption( _
ByVal name As String, _
ByVal value As String _
)

C#

public void SetDatabaseOption(
string name,
string value
);

Parameters
Remarks

Setting a database option results in a commit being performed.

Recognized options are:

Option

Description

global_database_id

The value used for global autoincrement columns. The value must be in the range [0,System.UInt32.MaxValue]. The default is ULConnection.INVALID_DATABASE_ID (used to indicate that the database ID has not been set for the current database).

ml_remote_id

The value used for identifying the database during synchronization. Use a null reference (Nothing in Visual Basic) as the value to remove the ml_remote_id option from the database.

Exceptions
See also