AdoDotNetParameter.SetTypeImpl Method
Attempts to parse the string type into a DbType enumeration value using Enum.Parse and if this fails it assumes DbType.Object as the correct DbType.
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Protected Overrides Sub SetTypeImpl ( _
value As String _
)
protected override void SetTypeImpl(
string value
)
protected:
virtual void SetTypeImpl(
String^ value
) override
abstract SetTypeImpl :
value:string -> unit
override SetTypeImpl :
value:string -> unit
protected override function SetTypeImpl(
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.