RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCOMAdminCatalogObject.Disconnect Method

Terminates the connection to the COM server.

Pascal
procedure Disconnect; override;
C++
virtual __fastcall Disconnect();

Disconnect releases the ICatalogObject interface that TCOMAdminCatalogObject uses to implement its properties and methods. Once you have called Disconnect, you can no longer use the TCOMAdminCatalogObject instance, unless you rebind it to another interface using the ConnectTo method. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!