|
RAD Studio VCL Reference
|
Removes a provider from the list returned by AS_GetProviderNames.
procedure UnRegisterProvider(Value: TCustomProvider); virtual;
virtual __fastcall UnRegisterProvider(TCustomProvider Value);
Call UnRegisterProvider to remove a provider from the remote 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 CRDMGetProviderNames method, which can be accessed through the TRemoteDataModule interface.
To temporarily disable a provider, use the provider's Exported property. Unexported providers are listed by CRDMGetProviderNames but can't be accessed through any TRemoteDataModule method calls.
Before a registered provider is destroyed, it must be unregistered using the UnRegisterProvider method. Providers that have the remote 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!
|