SqlMetaData.SqlDbType Property

 

Gets the data type of the column or parameter.

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

public SqlDbType SqlDbType { get; }

Property Value

Type: System.Data.SqlDbType

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

The default value is NVarChar.

.NET Framework
Available since 2.0
Return to top
Show: