DB2Parameter Properties

The properties of the DB2Parameter class are listed here. For a complete list of DB2Parameter class members, see the DB2Parameter Members topic.

Public Properties

Property Description
public property ArrayLength Gets or sets the number of elements of the Value property to use for parameter bind-in.
public property DB2®Type Gets or sets the DB2Type of the parameter.
public property DB2TypeOutput Determines if the output-only parameter values associated with the DB2Parameter is returned as native DB2 data types (specifically, classes and structures in the IBM.Data.DB2Types namespace).
public property DbType Gets or sets the DbType of the parameter.
public property Direction Gets or sets a value indicating whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter.
public property IsDefault DB2Parameter.IsDefault Property gets or sets a value indicating whether the parameter uses the default value assigned by the data server.
public property IsNullable Gets or sets a value indicating whether the parameter accepts null values.
public property IsUnassigned DB2Parameter.IsUnassigned Property gets or sets a value indicating whether the parameter is treated as an unassigned value by the data server.
public property ParameterName Gets or sets the name of the DB2Parameter.
public property Precision Gets or sets the maximum number of digits used to represent the Value property.
public property Scale Gets or sets the number of decimal places to which Value is resolved.
public property Size Gets or sets the maximum size, in bytes, of the data within the column.
public property SourceColumn Gets or sets the name of the source column mapped to the DataSet and used for loading or returning the Value .
public property SourceColumnNullMapping Gets or sets a value indicating whether the column is nullable.
public property SourceVersion Gets or sets the DataRowVersion to use when loading Value .
public property Value Gets or sets the value of the parameter.