共用方式為


GetValues 方法

Gets an array of values from the data value at the specified column position.

命名空間:  Microsoft.SqlServer.Management.Trace
組件:  Microsoft.SqlServer.ConnectionInfoExtended (在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)

語法

'宣告
Public Function GetValues ( _
    values As Object() _
) As Integer
'用途
Dim instance As TraceReader
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

參數

傳回值

型別:System. . :: . .Int32
An Int32 value that specifies the number of objects returned in the array.

實作

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

範例

Readme_Tracer