Method | Description | |
---|---|---|
SqlParameter ( string name, object value, SqlDbType type, string length ) : System.Data |
Initializes a new instance of the SqlParameter class.
|
public SqlParameter ( string name, object value, SqlDbType type, string length ) : System.Data | ||
name | string | The parameter name. E.g.: @UserAgent. |
value | object | The parameter value. Can be any valid SQL data type. |
type | SqlDbType | The SQL database type of this parameter. |
length | string | The length of the SQL database type if required by the type. Enter empy string or null if not required. |
return | System.Data |