RAD Studio VCL Reference
|
Makes one ADO command component a duplicate of another.
procedure Assign(Source: TPersistent); override;
virtual __fastcall Assign(TPersistent * Source);
Call Assign to copy the property values from one ADO command object to the properties of the current ADO command object.
Source is the ADO command object from which property values are copied. Source must be another TADOCommand object or an instance of a descendant class.
ADOCommand1.Assign(ADOCommand2);
ADOCommand1->Assign(ADOCommand2);
Assign copies the values of the following properties specific to ADO command objects:
Connection, if assigned; otherwise the ConnectionString property is copied.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|