Share via


OleDbTypeConverter.GetRestrictedOleDbType(Type) Method

Definition

Gets the OleDbTybe that is matching the specified CLR type.

public static System.Data.OleDb.OleDbType GetRestrictedOleDbType (Type type);
static member GetRestrictedOleDbType : Type -> System.Data.OleDb.OleDbType
Public Shared Function GetRestrictedOleDbType (type As Type) As OleDbType

Parameters

type
Type

The CLR type to convert.

Returns

The equivalent OleDbType.

Applies to