共用方式為


AdomdDataReader.GetDateTime 方法

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

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.dll 中)

語法

'宣告
Public Function GetDateTime ( _
    i As Integer _
) As DateTime
'用途
Dim instance As AdomdDataReader 
Dim i As Integer 
Dim returnValue As DateTime 

returnValue = instance.GetDateTime(i)
public DateTime GetDateTime(
    int i
)
public:
virtual DateTime GetDateTime(
    int i
) sealed
abstract GetDateTime : 
        i:int -> DateTime  
override GetDateTime : 
        i:int -> DateTime
public final function GetDateTime(
    i : int
) : DateTime

參數

  • i
    型別: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.

實作

IDataRecord.GetDateTime(Int32)

請參閱

參考

AdomdDataReader 類別

Microsoft.AnalysisServices.AdomdServer 命名空間