ADOX

Connection Close Method, Table Type Property Example (VC++)

Setting the ActiveConnection property to Nothing should "close" the catalog. Associated collections will be empty. Any objects that were created from schema objects in the catalog will be orphaned. Any properties on those objects that have been cached will still be available, but attempting to read properties that require a call to the provider will fail.

<"C:\MDAC SDK 2.6\ADO\Source\ADOX\Code\VC\ADOXCloseConnectX.cpp" BeginCloseConnectionCpp,EndCloseConnectionCpp>

See Also

ActiveConnection Property