共用方式為


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

參數

傳回值

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

實作

IDataRecord. . :: . .GetDateTime(Int32)