DbParameter.DbType Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the DbType of the parameter.
public:
 abstract property System::Data::DbType DbType { System::Data::DbType get(); void set(System::Data::DbType value); };public abstract System.Data.DbType DbType { get; set; }[System.ComponentModel.Browsable(false)]
public abstract System.Data.DbType DbType { get; set; }member this.DbType : System.Data.DbType with get, set[<System.ComponentModel.Browsable(false)>]
member this.DbType : System.Data.DbType with get, setPublic MustOverride Property DbType As DbTypeProperty Value
One of the DbType values. The default is String.
Implements
- Attributes
Exceptions
The property is not set to a valid DbType.