Compartilhar via


Método GetData

Returns IDataReader object used when the field points to a remote data structure.

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (em Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintaxe

'Declaração
Public Function GetData ( _
    ordinal As Integer _
) As IDataReader
'Uso
Dim instance As TraceReader
Dim ordinal As Integer
Dim returnValue As IDataReader

returnValue = instance.GetData(ordinal)
public IDataReader GetData(
    int ordinal
)
public:
virtual IDataReader^ GetData(
    int ordinal
) sealed
abstract GetData : 
        ordinal:int -> IDataReader 
override GetData : 
        ordinal:int -> IDataReader 
public final function GetData(
    ordinal : int
) : IDataReader

Parâmetros

Valor de retorno

Tipo: System.Data. . :: . .IDataReader
An IDataReader system object that specifies a remote data structure.

Implementa

IDataRecord. . :: . .GetData(Int32)

Exemplos

Readme_Tracer