Compartir a través de


GetValues Método

Populates an array of objects with the attribute column values of the current row. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
Public Function GetValues ( _
    values As Object() _
) As Integer
'Uso
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

Parámetros

  • values
    Tipo: array<System. . :: . .Object> [] () [] []
    An array of Object into which to copy the attribute columns.

Valor devuelto

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

Implementa

IDataRecord. . :: . .GetValues(array<Object> [] () [] [])