Mimer SQL Data Provider
Size Property




Mimer.Data.Client Namespace > MimerParameter Class : Size Property
Gets or sets the maximum size, in bytes, of the data within the column.
Syntax
'Declaration
 
Public Overrides NotOverridable Property Size As Integer
public override int Size {get; set;}
public read-write property Size: Integer; override; 
public override function get,set Size : int
public: __property int get_Size() override;
public: __property void set_Size( 
   int value
) override;

Property Value

The maximum size of the data within the column. The default value is inferred from the parameter value.
Remarks
Setting Size affects only the input value of a parameter. Return values and output parameters are not affected by this property.

The Size property is used for binary and string types.

For nonstring data types and ANSI string data, the Size property refers to the number of bytes. For Unicode string data, Size refers to the number of characters.

If not explicitly set, the size is inferred from the actual size of the specified parameter value.

For fixed length data types, the value of Size is ignored. It can be retrieved for informational purposes, and returns the maximum amount of bytes the provider uses when transmitting the value of the parameter to the server.

Requirements

.NET Framework
Version 2.0 or later

See Also

Reference

MimerParameter Class
MimerParameter Members