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
參數
- ordinal
型別:System. . :: . .Int32
The zero-based ordinal position of the column to be retrieved.
傳回值
型別:System. . :: . .DateTime
A DateTime that contains the value, converted to local system time, of the specified column.