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 2.0 API Reference » ULDatabaseSchema class

GetTableName method Next Page

SetDatabaseOption method

Sets the value for the specified database option.


Visual Basic

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


public void SetDatabaseOption(
string name,
string value


Setting a database option results in a commit being performed.

Recognized options are:



global_database_idThe 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_idThe 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.
See also