派生为特定命令指定的参数。
命名空间: 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
类型:String的数据源特定命令派生参数。
commandType
类型:Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType指示命令的命令类型,指定如何解释 command 参数的内容。
commandTimeout
类型:Int32时间长度,为,在取消并返回派生参数之前阻止客户给调用方。 值为零将无限超时;值 -1 指示为默认提供程序。
返回值
类型:array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
一个 IVsDataParameter 对象数组,表示参数的每个从派生命令。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。