dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlDataReader Class / GetSqlValues Method
An array of System.Object into which to copy the columns.

In This Topic
    GetSqlValues Method
    In This Topic
    Gets all columns in the collection for the current row. If possible, a provider-specific type is used.
    Syntax
    'Declaration
     
    Public Function GetSqlValues( _
       ByVal values() As Object _
    ) As Integer
    public int GetSqlValues( 
       object[] values
    )

    Parameters

    values
    An array of System.Object into which to copy the columns.

    Return Value

    The number of instances of System.Object in the array.
    Remarks
    This method is equivalent to the GetValues method, the only difference is that this method uses a provider-specific type whenever possible.
    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