AdsConnection.Close

Advantage .NET Data Provider

  Previous topic Next topic  

Closes the connection to the database.

public void Close();

Remarks

The Close method rolls back any pending transactions. It then returns the connection to the connection pool, or closes the connection if connection pooling is disabled (pooling=false).

An application can call Close more than one time. No exception is generated.

See Also

AdsConnection.Open

AdsConnection.ConnectionString