RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLBroker.Connected Property

Determines whether the XML broker has an active connection to the provider that supplies its data and applies its updates.

Pascal
property Connected: Boolean;
C++
__property Boolean Connected;

Use Connected to determine whether the XML broker can supply XML data packets and apply updates. If the XML broker uses a provider on an application server, setting Connected to true sets the Connected property of the connection component to true. If the XML broker uses a local provider component, setting Connected to true causes the XML broker to generate an internal object that communicates with the provider using the IAppServer interface. Thus, the value of Connected indicates whether an IAppServer interface is available for communicating with a provider, and so the value of Connected is the same as the value of HasAppServer

You can't set Connected to true unless the XML broker has a provider to which it can connect. Trying to set Connected to true before the ProviderName property is set or a local provider is assigned using the SetProvider method causes the XML broker to raise an exception.

Note: In the Web Page editor, default fields or parameter values may not appear if the associated XML broker is not connected.
 

 

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