Sets the value for the specified database option.
Visual Basic
Public Sub SetDatabaseOption( _
ByVal name As String, _
ByVal value As String _
)
C#
public void SetDatabaseOption(
string name,
string value
);
name The name of the database option. Option names are case insensitive.
value The new value for the option.
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. |