Vcl.OleServer.TOleServer.AutoConnect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoConnect: Boolean read GetAutoConnect write SetAutoConnect;

C++

__property bool AutoConnect = {read=GetAutoConnect, write=SetAutoConnect, nodefault};

Properties

Type Visibility Source Unit Parent
property published
Vcl.OleServer.pas
Vcl.OleServer.hpp
Vcl.OleServer TOleServer

Description

Specifies whether the component automatically connects to the server.

Set AutoConnect to True true to specify whether the server should be loaded automatically when the application first starts up. If AutoConnect is False false, the application establishes a connection when it calls one of the AutoConnect descendant's methods, sets a property, or calls the Connect method.

Note: AutoConnect only establishes a connection when the application is first run. Changing the AutoConnect property at runtime has no effect.

See Also