Метод 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.
Реализует
См. также