SqlMetaData.DbType Property

 

Gets the data type of the column or parameter.

Namespace:   Microsoft.SqlServer.Server
Assembly:  System.Data (in System.Data.dll)

public DbType DbType { get; }

Property Value

Type: System.Data.DbType

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

The default type is DbType.String.

.NET Framework
Available since 2.0
Return to top
Show: