RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.SetAdapterMode Method

Sets the Mode property based on a string that represents one of the available values.

Pascal
procedure SetAdapterMode(const AValue: string);
C++
__fastcall SetAdapterMode(const AnsiString AValue);

SetAdapterMode interprets the specified string and uses it to set the Mode property. 

AValue is a string that indicates the desired mode.  

If AValue is an empty string, SetAdapterMode sets the Mode property to the default value (by setting InDefaultMode to true). Otherwise, SetAdapterMode calls the StringToMode method to convert AValue into a Mode value and assigns the result to the Mode property. 

This method allows server-side script to set the Mode property of this adapter. 

 

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