dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlDataReader Class / GetSqlDateTime Method / GetSqlDateTime(String) Method
The name of the column to get value of.

In This Topic
    GetSqlDateTime(String) Method
    In This Topic
    Gets the value of the specified column as a Devart.Data.SqlServer.SqlTypes.SqlDateTime object.
    Syntax
    'Declaration
     
    Public Overloads Function GetSqlDateTime( _
       ByVal name As String _
    ) As SqlDateTime
    public SqlDateTime GetSqlDateTime( 
       string name
    )

    Parameters

    name
    The name of the column to get value of.

    Return Value

    A Devart.Data.SqlServer.SqlTypes.SqlDateTime object.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also