TraceReader.GetDateTime 메서드
Gets a DateTime value of the data value at the specified column position.
네임스페이스: Microsoft.SqlServer.Management.Trace
어셈블리: Microsoft.SqlServer.ConnectionInfoExtended(Microsoft.SqlServer.ConnectionInfoExtended.dll)
구문
‘선언
Public Function GetDateTime ( _
ordinal As Integer _
) As DateTime
‘사용 방법
Dim instance As TraceReader
Dim ordinal As Integer
Dim returnValue As DateTime
returnValue = instance.GetDateTime(ordinal)
public DateTime GetDateTime(
int ordinal
)
public:
virtual DateTime GetDateTime(
int ordinal
) sealed
abstract GetDateTime :
ordinal:int -> DateTime
override GetDateTime :
ordinal:int -> DateTime
public final function GetDateTime(
ordinal : int
) : DateTime
매개 변수
- ordinal
유형: System.Int32
An Int32 value that specifies the column position of the data.
반환 값
유형: System.DateTime
A DateTime system object value that represents the data at the specified column position.
구현
IDataRecord.GetDateTime(Int32)
예
참고 항목
참조
Microsoft.SqlServer.Management.Trace 네임스페이스