AdoDotNetParameter Constructor (String, IDataParameter, Boolean)
Class constructor. Initializes a parameterized instance of the AdoDotNetParameter class, providing a parameter for a Command object, the name of the DDEX provider, and an indication whether the parameter is derived using the DeriveParameters method.
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaración
Public Sub New ( _
providerName As String, _
parameter As IDataParameter, _
isDerived As Boolean _
)
public AdoDotNetParameter(
string providerName,
IDataParameter parameter,
bool isDerived
)
public:
AdoDotNetParameter(
String^ providerName,
IDataParameter^ parameter,
bool isDerived
)
new :
providerName:string *
parameter:IDataParameter *
isDerived:bool -> AdoDotNetParameter
public function AdoDotNetParameter(
providerName : String,
parameter : IDataParameter,
isDerived : boolean
)
Parameters
- providerName
Type: System.String
Name of the DDEX provider.
- parameter
Type: System.Data.IDataParameter
The IDataParameter object representing the command parameter.
- isDerived
Type: System.Boolean
Indicates whether this 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.