Dispatches the asynchronous derive parameters operation to the synchronous DeriveParameters method call.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Protected Overridable Function OnDeriveParameters ( _
command As String, _
commandType As DataCommandType, _
commandTimeout As Integer _
) As IVsDataParameter()
'使用
Dim command As String
Dim commandType As DataCommandType
Dim commandTimeout As Integer
Dim returnValue As IVsDataParameter()
returnValue = Me.OnDeriveParameters(command, _
commandType, commandTimeout)
protected virtual IVsDataParameter[] OnDeriveParameters(
string command,
DataCommandType commandType,
int commandTimeout
)
protected:
virtual array<IVsDataParameter^>^ OnDeriveParameters(
String^ command,
DataCommandType commandType,
int commandTimeout
)
protected function OnDeriveParameters(
command : String,
commandType : DataCommandType,
commandTimeout : int
) : IVsDataParameter[]
Parameters
command
Type: System.StringCommand for which the parameters are derived.
commandType
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandTypeA value from the DataCommandType enumeration representing the command type for the indicated command. The value specifies how to interpret the contents of the command parameter.
commandTimeout
Type: System.Int32Amount of time, in seconds, before which the command times out.
Return Value
Type: []
An array of IVsDataParameter objects. Each object represents a parameter that is derived from the command.
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.