NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SQLParameter.Size

Gets or sets the maximum size of the field.

[Visual Basic]
Public Property Size As Integer
[C#]
public int Size {get; set;}
[C++]
public: __property int get_Size();
public: __property void set_Size(int);
[JScript]
public function get Size() : int;
public function set Size(int);

Property Value

The maximum size of the field.

Remarks

This property is used for binary, string, and varnumeric types. Count in bytes for binary, non-Unicode strings, and varnumeric types. Count in characters for unicode strings. The count does not include null terminating character for strings.

See Also

SQLParameter Class | SQLParameter Members | System.Data.SQL Namespace