AdoDotNetParameter.SetTypeCore Method
Attempts to parse the string type into a DbType enumeration value by using Enum.Parse. If this fails, the method assumes DbType.Object as the correct DbType.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Overrides Sub SetTypeCore ( _
value As String _
)
protected override void SetTypeCore(
string value
)
protected:
virtual void SetTypeCore(
String^ value
) override
abstract SetTypeCore :
value:string -> unit
override SetTypeCore :
value:string -> unit
protected override function SetTypeCore(
value : String
)
Parameters
value
Type: System.StringA parameter data type.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.