Vcl.CmAdmCtl.TCOMAdminCatalog.Connect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Connect; override;

C++

virtual void __fastcall Connect();

Properties

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

Description

Establishes a connection to the COM server that implements the COM+ administration catalog.

Call Connect to connect the TCOMAdminCatalog component to the COM server it uses to administer the COM+ catalog data store. If the AutoConnect property is true, the TCOMAdminCatalog component automatically calls Connect when the application is first run.

Do not use Connect if the value of ConnectKind is ckAttachToInterface. When attaching to an interface, use the ConnectTo method instead.

If the value of ConnectKind is ckRemote, the RemoteMachineName property must be set before calling Connect.

Note: Do not confuse Connect with the ICOMAdminCatalog_Connect method. Connect establishes a connection to the server that TCOMAdminCatalog represents, while ICOMAdminCatalog_Connect connects to a remote machine on which you want to administer COM+ applications and services.

See Also