BusinessLogicDataReader.GetDateTime 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Gets the value of the specified column as a DateTime object.
命名空間: Microsoft.SqlServer.Replication.BusinessLogicSupport
組件: Microsoft.SqlServer.Replication.BusinessLogicSupport (在 Microsoft.SqlServer.Replication.BusinessLogicSupport.dll 中)
語法
'宣告
Public Function GetDateTime ( _
i As Integer _
) As DateTime
'用途
Dim instance As BusinessLogicDataReader
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 column ordinal.
傳回值
型別:System.DateTime
The value of the specified column.
實作
IDataRecord.GetDateTime(Int32)