RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCOMAdminCatalogObject.ConnectTo Method

Connects the TCOMAdminCatalogObject component to an existing ICatalogObject interface.

Pascal
procedure ConnectTo(svrIntf: ICatalogObject);
C++
__fastcall ConnectTo(ICatalogObject svrIntf);

Use ConnectTo when the ConnectKind property is ckAttachToInterface. ConnectTo allows the TCOMAdminCatalogObject to use an existing ICatalogCollection interface. 

Typically, applications do not need to use the ConnectTo method. Rather, they obtain a TCOMAdminCatalogObject object that is already bound to an ICatalogCollection object by calling the collection object's Get_Item method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!