System.Tether.AppProfile.TTetheringAppProfile.Connect

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function Connect(const AProfile: TTetheringProfileInfo; const AProtocolType: TTetheringProtocolType = '';  const AnAdapterType: TTetheringAdapterType = ''): Boolean; overload; override;
function Connect(const AProfile: TTetheringProfileInfo; ATimeout: Integer; const AProtocolType: TTetheringProtocolType = '';  const AnAdapterType: TTetheringAdapterType = ''): Boolean; overload; override;

C++

virtual bool __fastcall Connect(const System::Tether::Manager::TTetheringProfileInfo &AProfile, const System::UnicodeString AProtocolType = System::UnicodeString(), const System::UnicodeString AnAdapterType = System::UnicodeString())/* overload */;
virtual bool __fastcall Connect(const System::Tether::Manager::TTetheringProfileInfo &AProfile, int ATimeout, const System::UnicodeString AProtocolType = System::UnicodeString(), const System::UnicodeString AnAdapterType = System::UnicodeString())/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
System.Tether.AppProfile.pas
System.Tether.AppProfile.hpp
System.Tether.AppProfile TTetheringAppProfile


Beschreibung

Richtet eine Verbindung zum angegebenen Remote-Profil ein oder startet eine vorhandene Verbindung neu.

Connect ladet oder aktualisiert die Kollektionen von Actions und Resources und aktualisiert Eintrags-Abonnements gemäß den entsprechenden Profilgruppen.

Neben dem Remote-Profil können Sie zum Verbinden mit (AProfile) optional einen Protokolltyp (AProtocolType) und einen Adaptertyp (AnAdapterType) angeben.

Siehe Verbinden zu Remote-Anwendungen mithilfe von App-Tethering.

Siehe auch