RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLBroker.ProviderName Property

Specifies the name of a registered provider from the application server.

Pascal
property ProviderName: string;
C++
__property AnsiString ProviderName;

Use ProviderName to specify the provider with which to communicate on the server (or in the same Web module). This property is passed as a parameter to IAppServer interface calls when the XML broker fetches data or applies updates. If an application server contains multiple provider objects, an XML broker can set ProviderName to any of them once the connection component establishes a connection to the application server. 

ProviderName can be set from a drop-down in the Object Inspector once the RemoteServer property is set.

Note: ProviderName can also be used to link the XML broker to a provider in the same process space, as long as the provider component has the same Owner as the XML broker. If the local provider component has a different Owner, use the SetProvider method instead.
 

 

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