AdoDotNetConnectionSupport.DeriveParametersCore 方法

派生可用于特定命令指定的参数。

命名空间:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
程序集:  Microsoft.VisualStudio.Data.Framework(在 Microsoft.VisualStudio.Data.Framework.dll 中)

语法

声明
Protected Overridable Function DeriveParametersCore ( _
    command As String, _
    commandType As DataCommandType, _
    commandTimeout As Integer _
) As IVsDataParameter()
protected virtual IVsDataParameter[] DeriveParametersCore(
    string command,
    DataCommandType commandType,
    int commandTimeout
)
protected:
virtual array<IVsDataParameter^>^ DeriveParametersCore(
    String^ command, 
    DataCommandType commandType, 
    int commandTimeout
)
abstract DeriveParametersCore : 
        command:string * 
        commandType:DataCommandType * 
        commandTimeout:int -> IVsDataParameter[] 
override DeriveParametersCore : 
        command:string * 
        commandType:DataCommandType * 
        commandTimeout:int -> IVsDataParameter[] 
protected function DeriveParametersCore(
    command : String, 
    commandType : DataCommandType, 
    commandTimeout : int
) : IVsDataParameter[]

参数

  • command
    类型:System.String
    的数据源特定命令派生参数。
  • commandTimeout
    类型:System.Int32
    时间长度,秒,取消参数派生并返回之前阻止客户端调用方。零值指示无限超时;值-1表示一个提供默认值。

返回值

类型:array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
数组 IVsDataParameter 对象,表示参数的每一个从派生的命令。

.NET Framework 安全性

请参见

参考

AdoDotNetConnectionSupport 类

Microsoft.VisualStudio.Data.Framework.AdoDotNet 命名空间