Navigation:  Advantage .NET Data Provider > AdsParameter Class > AdsParameter Properties >


Advantage .NET Data Provider

Previous pageReturn to chapter overviewNext page

Gets or sets the maximum size, in bytes, of the data within the column.

public int Size {get; set;}


The Size property is used for binary and string types.

For variable length data types, the Size property describes the maximum amount of data to transmit to the server. For example, Size can be used to limit the amount of data sent to the server for a string value to the first one hundred characters.

If not explicitly set, the size is inferred from the actual size of the specified parameter value. For fixed width data types, the value of Size is ignored.