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
'宣言
Public Sub New ( _
providerName As String, _
parameter As IDataParameter, _
isDerived As Boolean _
)
'使用
Dim providerName As String
Dim parameter As IDataParameter
Dim isDerived As Boolean
Dim instance As New AdoDotNetParameter(providerName, _
parameter, isDerived)
public AdoDotNetParameter(
string providerName,
IDataParameter parameter,
bool isDerived
)
public:
AdoDotNetParameter(
String^ providerName,
IDataParameter^ parameter,
bool isDerived
)
public function AdoDotNetParameter(
providerName : String,
parameter : IDataParameter,
isDerived : boolean
)
Parameters
providerName
Type: System.StringName of the DDEX provider.
parameter
Type: System.Data.IDataParameterThe IDataParameter object representing the command parameter.
isDerived
Type: System.BooleanIndicates whether this data parameter instance was created as a return value of the DeriveParameters method
Permissions
- 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.