EMS.Services.TEMSInternalAPI.DeleteInstallation
Delphi
function DeleteInstallation(const AInstallationID: string; out AResponse: IEMSResourceResponseContent): Boolean; overload;
function DeleteInstallation(const AInstallationID: string): Boolean; overload;
C++
bool __fastcall DeleteInstallation(const System::UnicodeString AInstallationID, /* out */ _di_IEMSResourceResponseContent &AResponse)/* overload */;
bool __fastcall DeleteInstallation(const System::UnicodeString AInstallationID)/* overload */;
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | TEMSInternalAPI |
Beschreibung
Löscht eine vorhandene EMS-Installation aus dem EMS-Server.
DeleteInstallation führt die Löschanforderung aus dem EMS-Server für die AInstallationID
aus.
Die Methode DeleteInstallation ist überladen:
- Die erste überladene Methode erhält die
AInstallationID
, um die Löschanforderung auszuführen, und gibt im ParameterAResponse
die Antwort vom EMS-Server zurück. - Die zweite überladene Methode erhält die
AInstallationID
, um die Löschanforderung auszuführen.
DeleteInstallation gibt False
zurück, wenn der Statuscode der Antwortanforderung 404
lautet (die EMS-Installation wurde Nicht gefunden).
Andernfalls gibt DeleteInstallation True
zurück.