Share via


DataProvider.GetValues Method

Populates an array of objects with the attribute column values of the current row. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Function GetValues ( _
    values As Object() _
) As Integer
'Usage
Dim instance As DataProvider
Dim values As Object()
Dim returnValue As Integer

returnValue = instance.GetValues(values)
public int GetValues(
    Object[] values
)
public:
virtual int GetValues(
    array<Object^>^ values
) sealed
abstract GetValues : 
        values:Object[] -> int 
override GetValues : 
        values:Object[] -> int 
public final function GetValues(
    values : Object[]
) : int

Parameters

  • values
    Type: array<System.Object[]
    An array of Object into which to copy the attribute columns.

Return Value

Type: System.Int32
The number of instances of Object in the array.

Implements

IDataRecord.GetValues(array<Object[])