Share via


SqlMetaData.DbType Property

Definition

Gets the data type of the column or parameter.

public:
 property System::Data::DbType DbType { System::Data::DbType get(); };
public System.Data.DbType DbType { get; }
member this.DbType : System.Data.DbType
Public ReadOnly Property DbType As DbType

Property Value

The data type of the column or parameter as a DbType.

Remarks

The default type is DbType.String.

Applies to