EMS.Services.TEMSInternalAPI.DeleteGroup
Delphi
function DeleteGroup(const AGroupName: string; out AResponse: IEMSResourceResponseContent): Boolean; overload;
function DeleteGroup(const AGroupName: string): Boolean; overload;
C++
bool __fastcall DeleteGroup(const System::UnicodeString AGroupName, /* out */ _di_IEMSResourceResponseContent &AResponse)/* overload */;
bool __fastcall DeleteGroup(const System::UnicodeString AGroupName)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | TEMSInternalAPI |
Description
Deletes an existing EMS Group from the EMS Server.
The DeleteGroup executes the delete request from the EMS Server for the AGroupName.
The DeleteGroup method is overloaded:
- The first overloaded method receives the
AGroupNameto execute the delete request, and uses theAResponseto return the response from the EMS Server. - The second overloaded method receives the
AGroupNameto execute the delete request.
DeleteGroup returns False if the response request status code is 404 (the EMS Group is Not found).
Otherwise, DeleteGroup returns True.