DB2DateTime(DateTime value, int precision) Constructor
Initializes a new DB2DateTime structure with the specified DateTime object and integer precision values.
The DB2DateTime constructor is available for use only with the Informix® database server.
- Namespace:
IBM.Data.DB2Types
- Assembly:
IBM.Data.DB2
(in IBM.Data.DB2.dll)
Syntax
[Visual Basic]
Public Sub New(dtvalue as DateTime)
[C#]
public DB2DateTime(DateTime dtvalue, int precision);
[C++]
public: DB2DateTime(DateTime dtvalue, int precision);
[JScript]
public function DB2DateTime(dtvalue : DateTime, precision : int);
Parameters
- value
- A DateTime value to populate the DB2DateTime instance.
- precision
- An integer value to specify the precision of the DB2DateTime instance.