AdoDotNetObjectSelector.SelectObjects 方法

定义

为从对象存储区中检索到的数据对象返回一个数据读取器,由指定的限制、属性和参数筛选。

protected:
 override Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataReader ^ SelectObjects(System::String ^ typeName, cli::array <System::Object ^> ^ restrictions, cli::array <System::String ^> ^ properties, cli::array <System::Object ^> ^ parameters);
protected override Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader SelectObjects (string typeName, object[] restrictions, string[] properties, object[] parameters);
override this.SelectObjects : string * obj[] * string[] * obj[] -> Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader
Protected Overrides Function SelectObjects (typeName As String, restrictions As Object(), properties As String(), parameters As Object()) As IVsDataReader

参数

typeName
String

要为其检索数据对象的指定类型的数据源特定名称。

restrictions
Object[]

筛选返回的数据对象的限制。

properties
String[]

指定所请求的数据对象的属性值。 当前版本的 DDEX 不支持此项。

parameters
Object[]

包含指定类型的参数的数组。

返回

IVsDataReader

一个 IVsDataReader 对象,表示所选数据对象的数据读取器。

例外

typeName 参数为 null。

parameters 参数无效。 要么为 null,要么其中包含的元素数不是1或2,或者第一个元素不是字符串。

网站为空。

无法获取提供程序。

适用于