Send feedback on this topic.
Teradata.Client.Provider
SelectCommand Property



Teradata.Client.Provider Namespace > TdDataAdapter Class : SelectCommand Property
Gets or sets a TdCommand used to fill a DataTable(s) with the corresponding result set(s) from the Advanced SQL Engine.
Syntax
'Declaration
 
Public Shadows Property SelectCommand As TdCommand
'Usage
 
Dim instance As TdDataAdapter
Dim value As TdCommand
 
instance.SelectCommand = value
 
value = instance.SelectCommand
public new TdCommand SelectCommand {get; set;}
public:
new property TdCommand^ SelectCommand {
   TdCommand^ get();
   void set (    TdCommand^ value);
}

Property Value

Spedifies a TdCommand used to fill a DataTable(s) with the corresponding result set(s) from the Advanced SQL Engine. The default value is null.
Remarks

SelectCommand property is used to fill a DataTable(s) with the corresponding result set(s) from the SQL Engine. See �Setting Up DataTable and DataColumn Mappings� for additional information on how Teradata columns are mapped to DataColumns.

When the SelectCommand property is set, the TdCommand object passed in is not cloned but rather a reference to the object is maintained by the TdDataAdapter.

Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdDataAdapter Class
TdDataAdapter Members