SqlCeUpdatableRecord.GetSqlDateTime Method
Returns the value of the specified field as SqlDateTime.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Function GetSqlDateTime ( _
ordinal As Integer _
) As SqlDateTime
'Usage
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim returnValue As SqlDateTime
returnValue = instance.GetSqlDateTime(ordinal)
public SqlDateTime GetSqlDateTime(
int ordinal
)
public:
SqlDateTime GetSqlDateTime(
int ordinal
)
member GetSqlDateTime :
ordinal:int -> SqlDateTime
public function GetSqlDateTime(
ordinal : int
) : SqlDateTime
Parameters
- ordinal
Type: System.Int32
The field from which to retrieve a value.
Return Value
Type: System.Data.SqlTypes.SqlDateTime