Freigeben über


AdoDotNetObjectSelector.SelectObjects Method

Definition

Returns a data reader for the data objects retrieved from the object store, which are filtered by the specified restrictions, properties, and parameters.

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

Parameters

typeName
String

The data source–specific name of the specified type to retrieve data objects for.

restrictions
Object[]

The restrictions for filtering the data objects returned.

properties
String[]

Specifies the property values of the requested data objects. This is not supported in the current version of DDEX.

parameters
Object[]

An array containing the parameters for the specified type.

Returns

An IVsDataReader object representing a data reader for the selected data objects.

Exceptions

The typeName parameter is null.

The parameters parameter is not valid. Either it is null, or the number of elements contained in it is not 1 or 2, or the first element is not a string.

The site is null.

The provider cannot be obtained.

Applies to