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



Teradata.Client.Provider Namespace > TdParameter Class : TdType Property
Gets or sets the TdType (Teradata type) of the parameter.
Syntax
'Declaration
 
Public Property TdType As TdType
'Usage
 
Dim instance As TdParameter
Dim value As TdType
 
instance.TdType = value
 
value = instance.TdType
public TdType TdType {get; set;}
public:
property TdType TdType {
   TdType get();
   void set (    TdType value);
}

Property Value

One of the TdType enumeration values. The default is Char.
Exceptions
ExceptionDescription
Argument is not a valid TdType.
Remarks

TdType property specifies the data type of the target column or arguments to a stored procedure. It is strongly recommended that you use the TdParameter.TdType property to specify the parameter data type. The data provider automatically changes the TdParameter.DbType property when you set the TdParameter.TdType property. The TdParameter.Value property is converted into the TdType before data is transmitted to the Advanced SQL Engine.

Requirements

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

See Also

Reference

TdParameter Class
TdParameter Members