EMS.Services.IEMSServices.TryGetService

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
EMS.Services.pas
EMS.Services.hpp
Unit: EMS.Services
Parent: IEMSServices

Delphi

function TryGetService(const Service: TGUID; out Svc): Boolean; overload;

C++

virtual bool __fastcall TryGetService(const GUID &Service, /* out */ void *Svc) = 0 /* overload */;

Description

Fills Svc with an object interface for the specified service GUID and returns True on success, or False if the RAD Server Engine (EMS Server) does not support the target service.

The specified GUID may be the GUID of any of the service interfaces of the EMS.Services unit.

See Also