SqlMetaData.Type Property


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

 property Type ^ Type { Type ^ get(); };
public Type Type { get; }
member this.Type : Type
Public ReadOnly Property Type As Type

Property Value

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.

Applies to