Vcl.CmAdmCtl.TCOMAdminCatalogObject.ConnectTo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ConnectTo(svrIntf: ICatalogObject);

C++

void __fastcall ConnectTo(Winapi::Comadmin::_di_ICatalogObject svrIntf);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.CmAdmCtl.pas
Vcl.CmAdmCtl.hpp
Vcl.CmAdmCtl TCOMAdminCatalogObject

Description

Connects the TCOMAdminCatalogObject component to an existing ICatalogObject interface.

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.

See Also