AdoDotNetParameter Constructor (String, Boolean)
Initializes a new instance of the AdoDotNetParameter class with the name of the data provider and an indication of whether the parameter is derived using the DeriveParameters method.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Sub New ( _
providerInvariantName As String, _
isDerived As Boolean _
)
public AdoDotNetParameter(
string providerInvariantName,
bool isDerived
)
public:
AdoDotNetParameter(
String^ providerInvariantName,
bool isDerived
)
new :
providerInvariantName:string *
isDerived:bool -> AdoDotNetParameter
public function AdoDotNetParameter(
providerInvariantName : String,
isDerived : boolean
)
Parameters
providerInvariantName
Type: System.StringThe name of the data provider.
isDerived
Type: System.BooleanIndicates whether the data parameter instance was created as a return value of the DeriveParameters method.
.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.