Parameter.GetDatabaseType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
System::Data::DbType GetDatabaseType();
public System.Data.DbType GetDatabaseType ();
member this.GetDatabaseType : unit -> System.Data.DbType
Public Function GetDatabaseType () As DbType
Returns
The DbType value that is equivalent to the CLR type of the current Parameter instance.
Exceptions
Remarks
The DbType property must not already have been set, or must be set to Object. This method is intended for use only when the CLR type is set but the DbType property is not.