SqlMetaData.Adjust Method (DateTime)

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Validates the specified DateTime value against the metadata and adjusts the value if necessary.

Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)

Syntax

'Declaration
Public Function Adjust ( _
    value As DateTime _
) As DateTime
'Usage
Dim instance As SqlMetaData
Dim value As DateTime
Dim returnValue As DateTime

returnValue = instance.Adjust(value)
public DateTime Adjust (
    DateTime value
)
public:
DateTime Adjust (
    DateTime value
)
public DateTime Adjust (
    DateTime value
)
public function Adjust (
    value : DateTime
) : DateTime
Not applicable.

Parameters

  • value
    The value to validate against the SqlMetaData instance.

Return Value

The adjusted value as a DataTime.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

.NET Compact Framework

Supported in: 2.0

See Also

Reference

SqlMetaData Class
SqlMetaData Members
System.Data.SqlServerCe Namespace