Share via


SqlMetaData.Adjust Method (SqlInt16)

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

Validates the specified SqlInt16 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 SqlInt16 _
) As SqlInt16
'Usage
Dim instance As SqlMetaData
Dim value As SqlInt16
Dim returnValue As SqlInt16

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

Parameters

  • value
    The value to validate against the SqlMetaData instance.

Return Value

The adjusted value as a SqlInt16.

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