Soap.SOAPDm.TSoapDataModule.UnRegisterProvider
Delphi
procedure UnRegisterProvider(Value: TCustomProvider);
C++
void __fastcall UnRegisterProvider(Datasnap::Provider::TCustomProvider* Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Soap.SOAPDm.pas Soap.SOAPDm.hpp |
Soap.SOAPDm | TSoapDataModule |
Description
Removes a provider from the list returned by AS_GetProviderNames.
Call UnRegisterProvider to remove a provider from the SOAP data module's list of available providers. Pass a reference to the provider that should be removed as the Value parameter. When a provider is not registered, it is not returned by the AS_GetProviderNames method, which can be accessed through the IAppServer interface.
To temporarily disable a provider, use the provider's Exported property. Unexported providers can't be accessed through any IAppServer method calls.
Before a registered provider is destroyed, it must be unregistered using the UnRegisterProvider method. Providers that have the SOAP data module as an Owner are unregistered automatically from their destructors.