GetDateTime 方法

Returns a DateTime that contains the value from the specified column.

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Public Function GetDateTime ( _
    ordinal As Integer _
) As DateTime
用法
Dim instance As AdomdDataReader
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

参数

返回值

类型:System. . :: . .DateTime
A DateTime that contains the value, converted to local system time, of the specified column.

实现

IDataRecord. . :: . .GetDateTime(Int32)