RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSoapDataModule.UnRegisterProvider Method

Removes a provider from the list returned by AS_GetProviderNames.

Pascal
procedure UnRegisterProvider(Value: TCustomProvider);
C++
__fastcall UnRegisterProvider(TCustomProvider Value);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!