SqlMetaData Constructor (String, SqlDbType, Type, String)

 

Initializes a new instance of the SqlMetaData class with the specified column name, user-defined type (UDT), and SQLServer type.

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

new : 
        name:string *
        dbType:SqlDbType *
        userDefinedType:Type *
        serverTypeName:string -> SqlMetaData

Parameters

name
Type: System.String

The name of the column.

dbType
Type: System.Data.SqlDbType

The SQL Server type of the parameter or column.

userDefinedType
Type: System.Type

A Type instance that points to the UDT.

serverTypeName
Type: System.String

The SQL Server type name for userDefinedType.

.NET Framework
Available since 2.0
Return to top
Show: