Vcl.CmAdmCtl.TCOMAdminCatalogCollection.ConnectTo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ConnectTo(svrIntf: ICatalogCollection);

C++

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

Properties

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

Description

Connects the TCOMAdminCatalogCollection component to an existing ICatalogCollection interface.

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

Typically, applications do not need to use the ConnectTo method. Rather, they obtain a TCOMAdminCatalogCollection object that is already bound to an ICatalogCollection object by calling a method such as GetCollection.

See Also