DataAsyncCommand.OnDeriveParameters Method
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
'Declaración
Protected Overridable Function OnDeriveParameters ( _
command As String, _
commandType As DataCommandType, _
commandTimeout As Integer _
) As IVsDataParameter()
protected virtual IVsDataParameter[] OnDeriveParameters(
string command,
DataCommandType commandType,
int commandTimeout
)
protected:
virtual array<IVsDataParameter^>^ OnDeriveParameters(
String^ command,
DataCommandType commandType,
int commandTimeout
)
abstract OnDeriveParameters :
command:string *
commandType:DataCommandType *
commandTimeout:int -> IVsDataParameter[]
override OnDeriveParameters :
command:string *
commandType:DataCommandType *
commandTimeout:int -> IVsDataParameter[]
protected function OnDeriveParameters(
command : String,
commandType : DataCommandType,
commandTimeout : int
) : IVsDataParameter[]
Parameters
- command
Type: System.String
Command for which the parameters are derived.
- commandType
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType
A 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.Int32
Amount of time, in seconds, before which the command times out.
Return Value
Type: array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
An array of IVsDataParameter objects. Each object represents a parameter that is derived from the command.
.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.