Freigeben über


SqlMetaData.Adjust Method (SqlDecimal)

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

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

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

Parameters

  • value
    The value to validate against the SqlMetaData instance.

Return Value

The adjusted value as a SqlDecimal.

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