RAD Studio VCL Reference
|
Indicates the type of process to which the ConnectKind component establishes a connection.
property ConnectKind: TConnectKind;
__property TConnectKind ConnectKind;
Set ConnectKind to indicate how the ConnectKind component establishes a connection. ConnectKind establishes the connection when the application is run (if AutoConnect is True true) or when the application calls the Connect (or ConnectTo) method.
The following table lists the possible values:
Value |
Meaning |
ckRunningOrNew |
Attach to a running server or create a new instance of the server. |
ckNewInstance |
Always create a new instance of the server. |
ckRunningInstance |
Only attach to a running instance of the server. |
ckRemote |
Bind to a remote instance of the server. When using this option, you must supply a value for RemoteMachineName. |
ckAttachToInterface |
Don't bind to the server. Instead, the application supplies an interface using the ConnectTo method, which is introduced in descendant classes. This option can't be used with the AutoConnect property. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|