Send feedback on this topic.
Teradata.Client.Provider
TdCommand Constructor(String)



Teradata.Client.Provider Namespace > TdCommand Class > TdCommand Constructor : TdCommand Constructor(String)
The SQL text that will be executed. commandText is used to initialize the CommandText property.
Initializes a new instance of the TdCommand class
Syntax
'Declaration
 
Public Function New( _
   ByVal commandText As String _
)
'Usage
 
Dim commandText As String
 
Dim instance As New TdCommand(commandText)
public TdCommand( 
   string commandText
)
public:
TdCommand( 
   String^ commandText
)

Parameters

commandText
The SQL text that will be executed. commandText is used to initialize the CommandText property.
Remarks
A new instance of the TdCommand class is initialized with the following default property values:
Property Initial Value
CommandText commandText parameter
CommandTimeout 30 seconds
CommandType Text
Connection Null
DesignTimeVisible False
Transaction Null
UpdatedRowSource Both
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

TdCommand Class
TdCommand Members
Overload List