IVsDataCommand.DeriveParameters Method (String, DataCommandType, Int32)
When implemented by a class, derives the parameters that can be specified for a given command.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Déclaration
Function DeriveParameters ( _
command As String, _
commandType As DataCommandType, _
commandTimeout As Integer _
) As IVsDataParameter()
IVsDataParameter[] DeriveParameters(
string command,
DataCommandType commandType,
int commandTimeout
)
array<IVsDataParameter^>^ DeriveParameters(
String^ command,
DataCommandType commandType,
int commandTimeout
)
abstract DeriveParameters :
command:string *
commandType:DataCommandType *
commandTimeout:int -> IVsDataParameter[]
function DeriveParameters(
command : String,
commandType : DataCommandType,
commandTimeout : int
) : IVsDataParameter[]
Parameters
- command
Type: System.String
A command from which to derive parameters that are specific to a data source.
- commandType
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType
A value from the DataCommandType enumeration representing the command type for the indicated command, specifying how to interpret the contents of the command parameter.
- commandTimeout
Type: System.Int32
The length of time, in seconds, to block the client before canceling the parameter derivation and returning to the caller. A value of 0 indicates infinite time-out; a value of -1 indicates a provider default.
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.
See Also
Reference
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace