AdoDotNetParameter Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AdoDotNetParameter(String) |
Class constructor. Initializes a parameterized instance of the AdoDotNetParameter class, along with the name of the ADO.NET data provider being serviced by the connection. |
AdoDotNetParameter(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. |
AdoDotNetParameter(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(String, Int32, Int32) method. |
AdoDotNetParameter(String)
Class constructor. Initializes a parameterized instance of the AdoDotNetParameter class, along with the name of the ADO.NET data provider being serviced by the connection.
public:
AdoDotNetParameter(System::String ^ providerName);
public AdoDotNetParameter (string providerName);
new Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetParameter : string -> Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetParameter
Public Sub New (providerName As String)
Parameters
- providerName
- String
Name of the ADO.NET data provider being serviced by the connection
Applies to
AdoDotNetParameter(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.
public:
AdoDotNetParameter(System::String ^ providerName, System::Data::IDataParameter ^ parameter);
public AdoDotNetParameter (string providerName, System.Data.IDataParameter parameter);
new Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetParameter : string * System.Data.IDataParameter -> Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetParameter
Public Sub New (providerName As String, parameter As IDataParameter)
Parameters
- providerName
- String
Name of the DDEX provider.
- parameter
- IDataParameter
The IDataParameter object representing the command parameter.
Applies to
AdoDotNetParameter(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(String, Int32, Int32) method.
public:
AdoDotNetParameter(System::String ^ providerName, System::Data::IDataParameter ^ parameter, bool isDerived);
public AdoDotNetParameter (string providerName, System.Data.IDataParameter parameter, bool isDerived);
new Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetParameter : string * System.Data.IDataParameter * bool -> Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetParameter
Public Sub New (providerName As String, parameter As IDataParameter, isDerived As Boolean)
Parameters
- providerName
- String
Name of the DDEX provider.
- parameter
- IDataParameter
The IDataParameter object representing the command parameter.
- isDerived
- Boolean
Indicates whether this data parameter instance was created as a return value of the DeriveParameters(String, Int32, Int32) method