AdoDotNetParameter Constructor (String, IDataParameter)
Class constructor. Initializes a parameterized instance of the AdoDotNetParameter class, providing a parameter for a Command object and the name of the DDEX provider.
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Déclaration
Public Sub New ( _
providerName As String, _
parameter As IDataParameter _
)
public AdoDotNetParameter(
string providerName,
IDataParameter parameter
)
public:
AdoDotNetParameter(
String^ providerName,
IDataParameter^ parameter
)
new :
providerName:string *
parameter:IDataParameter -> AdoDotNetParameter
public function AdoDotNetParameter(
providerName : String,
parameter : IDataParameter
)
Parameters
- providerName
Type: System.String
Name of the DDEX provider.
- parameter
Type: System.Data.IDataParameter
The IDataParameter object representing the command parameter.
.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.