Returns data for the specified column with the given type. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Function GetDateTime ( _
i As Integer _
) As DateTime
'用途
Dim instance As DataProvider
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
An Int32 value that specifies a column.
傳回值
型別:System.DateTime
Data for a specified column with the given type.
實作
IDataRecord.GetDateTime(Int32)