Send feedback on this topic.
Teradata.Client.Provider
TdParameter Constructor(String,Object)



Teradata.Client.Provider Namespace > TdParameter Class > TdParameter Constructor : TdParameter Constructor(String,Object)
Specifies the name of the parameter.
Specifies the value of the parameter.
Creates a new instance of the TdParameter class.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal value As Object _
)
'Usage
 
Dim name As String
Dim value As Object
 
Dim instance As New TdParameter(name, value)
public TdParameter( 
   string name,
   object value
)
public:
TdParameter( 
   String^ name,
   Object^ value
)

Parameters

name
Specifies the name of the parameter.
value
Specifies the value of the parameter.
Remarks
A new instance of TdParameter class is initialized with the following default property values.
Property Initial Value
DbType System.Data.DbType.String
Direction System.Data.ParameterDirection.Input
IsNullable false
Offset Zero (0)
ParameterName name parameter
Precision 0 (will be inferred if not specified by the application)
Scale 0 (will be inferred if not specified by the application)
Size 0 (will be inferred if not specified by the application)
SourceColumn empty string
SourceVersion System.Data.DataRowVersion.Current
TdType TdType.VarChar
Value value parameter
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
Overload List