Freigeben über


GetValues-Methode

Populates an array of objects with the attribute column values of the current row. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

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

Parameter

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

Rückgabewert

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

Implementiert

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