共用方式為


GetValues 方法

Gets an array of values for all of the columns in the current row.

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.dll 中)

語法

'宣告
Public Function GetValues ( _
     As Object() _
) As Integer
'用途
Dim instance As AdomdDataReader
Dim  As Object()
Dim returnValue As Integer

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

參數

  • __unnamed0
    型別:array<System. . :: . .Object> [] () [] []
    An array of Object objects into which to copy the column values.

傳回值

型別:System. . :: . .Int32
An Integer that contains the number of instances copied into the array of Object objects.

實作

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