System.Tether.AppProfile.TTetheringAppProfile.GetRemoteProfileResources
Delphi
function GetRemoteProfileResources(const AProfile: TTetheringProfileInfo): TList<TRemoteResource>;
C++
System::Generics::Collections::TList__1<TRemoteResource*>* __fastcall GetRemoteProfileResources(const System::Tether::Manager::TTetheringProfileInfo &AProfile);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp |
System.Tether.AppProfile | TTetheringAppProfile |
Description
Returns a list of remote resources from the specified remote profile.
You must connect your profile to AProfile
before you call GetRemoteProfileResources. When you connect to a remote profile your profile retrieves all items (actions and resources) from the target remote profile. GetRemoteProfileResources returns those retrieved items that are resources.
Exceptions
A call to GetRemoteProfileResources may raise the following exception:
Exception | Exception.Message | Scenarios |
---|---|---|
Profile <profile identifier> is not connected. |
|