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 Teradata Database.
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 Teradata Database. The default value is null.
Remarks

SelectCommand property is used to fill a DataTable(s) with the corresponding result set(s) from the Teradata Database. 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 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdDataAdapter Class
TdDataAdapter Members