SqlMetaData.Type Property


Gets the common language runtime (CLR) type of a user-defined type (UDT).

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

public Type Type { get; }

Property Value

Type: System.Type

The CLR type name of a user-defined type as a Type.

The default value is null.

Returns null if SqlDbType is not a UDT type. Null may also returned for valid UDT result sets where the assembly is not available to the application.

.NET Framework
Available since 2.0
Return to top