다음을 통해 공유


GetString 메서드

Gets a String value at the specified column position.

네임스페이스:  Microsoft.SqlServer.Management.Trace
어셈블리:  Microsoft.SqlServer.ConnectionInfoExtended(Microsoft.SqlServer.ConnectionInfoExtended.dll)

구문

‘선언
Public Function GetString ( _
    ordinal As Integer _
) As String
‘사용 방법
Dim instance As TraceReader
Dim ordinal As Integer
Dim returnValue As String

returnValue = instance.GetString(ordinal)
public string GetString(
    int ordinal
)
public:
virtual String^ GetString(
    int ordinal
) sealed
abstract GetString : 
        ordinal:int -> string 
override GetString : 
        ordinal:int -> string 
public final function GetString(
    ordinal : int
) : String

매개 변수

반환 값

유형: System. . :: . .String
A String value that represents the data at the specified column position.

구현

IDataRecord. . :: . .GetString(Int32)