Navigation:  Advantage .NET Data Provider > AdsConnection Class > AdsConnection Methods >


Advantage .NET Data Provider

Previous pageReturn to chapter overviewNext page

Opens a database connection with the property settings specified by the ConnectionString.

public void Open();


This method opens a connection to the database or retrieves an open connection from the connection pool (if pooling is enabled). Otherwise, it establishes a new connection. If pooling is on and the maximum pool size (property "Max Pool Size") is exceeded, an InvalidOperationException will be thrown.

See Also