Send feedback on this topic.
Teradata.Client.Provider
CreateCommand Method (TdConnection)



Teradata.Client.Provider Namespace > TdConnection Class : CreateCommand Method
Creates and returns a TdCommand object.
Syntax
'Declaration
 
Public Shadows Function CreateCommand() As TdCommand
'Usage
 
Dim instance As TdConnection
Dim value As TdCommand
 
value = instance.CreateCommand()
public new TdCommand CreateCommand()
public:
new TdCommand^ CreateCommand(); 

Return Value

TdCommand
Remarks
This method creates and returns a TdCommand object. The TdCommand.Connection property is set to reference the TdConnection object.
Requirements
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdConnection Class
TdConnection Members