Partilhar via


SqlMetaData.Adjust Method (Int16)

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

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

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

Parameters

  • value
    The value to validate against the SqlMetaData instance.

Return Value

The adjusted value as a Int16.

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