RAD Studio VCL Reference
|
Records whether a connection was established to a specified server.
procedure SetConnectStatus(ComputerName: string; Success: Boolean); override;
virtual __fastcall SetConnectStatus(AnsiString ComputerName, Boolean Success);
After calling GetComputerForGUID or GetComputerForProgID, connection components use the returned value to open a connection to the identified server. They then call SetConnectStatus to inform the broker of whether the connection was successfully opened.
SetConnectStatus sets the HasFailed property of the corresponding server to true if the connection was unsuccessful. It sets the HasFailed property to false if the connection was successful.
When the HasFailed property of a server is true, that server is ignored when the GetComputerForGUID or GetComputerForProgID method looks for available connections.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|