Firebird ADO.NET Provider SDK Documentation - v1.7 |
|
FbConnection.CreateDatabase Method (String, Int32, Boolean, Boolean)
Creates a new database using the given connection string information, create parameters.
[Visual Basic]
Overloads Public Shared Sub CreateDatabase( _
ByVal
connectionString As
String, _
ByVal
pageSize As
Integer, _
ByVal
forcedWrites As
Boolean, _
ByVal
overwrite As
Boolean _
)
[C#]
public static
void CreateDatabase(
string connectionString,
int pageSize,
bool forcedWrites,
bool overwrite);
Parameters
-
connectionString
- A valid connection string.
-
pageSize
- Database page size.
-
forcedWrites
-
Indicates wheter the database should be created using the Forced Writes mode.
true to create the database in Forced writes mode; or false if not.
-
overwrite
- Indicates if the database should overwrite an existing database.
See Also
FbConnection Class | FirebirdSql.Data.Firebird Namespace | FbConnection.CreateDatabase Overload List