Partager via


Méthode GetValues

Populates an array of objects with the attribute column values of the current row. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Function GetValues ( _
    values As Object() _
) As Integer
'Utilisation
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

Paramètres

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

Valeur de retour

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

Implémente

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