DB2®Parameter.ResetDbType Method
Resets the data type associated with this DB2Parameter instance.
- Namespace:
IBM.Data.DB2- Assembly:
IBM.Data.DB2(inIBM.Data.DB2.dll)
Syntax
[Visual Basic]
Public Overrides Sub ResetDbType
[C#]
public override void ResetDbType ()
[C++]
public:
virtual void ResetDbType () override
[JScript]
public override function ResetDbType ()
Remarks
When executing a DB2Command, you can assign parameter types explicitly, or implicitly allow the parameter type to be determined based on the the value passed to the parameter. If an explicit data type assignment is made, a call to this method will reset the parameter type for a DB2Parameter so that it's based on the value passed to the parameter.