SqlMetaData.Adjust Method (Char[])

 

Validates the specified array of Char values against the metadata, and adjusts the value if necessary.

Namespace:   Microsoft.SqlServer.Server
Assembly:  System.Data (in System.Data.dll)

public char[] Adjust(
	char[] value
)

Parameters

value
Type: System.Char[]

The value to validate against the SqlMetaData instance.

Return Value

Type: System.Char[]

The adjusted value as an array Char values.

Exception Condition
ArgumentException

Value does not match the SqlMetaData type, or value could not be adjusted.

.NET Framework
Available since 2.0
Return to top
Show: