Share via


AdoDotNetRootObjectSelector.SelectObjects Method

Definition

Returns root object properties, such as the non-sensitive connection properties and some DbConnection properties, through a data reader.

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 name of the mapped type.

restrictions
Object[]

An array containing the restrictions used to filter object selection.

properties
String[]

An array containing the properties. The current version of DDEX does not support properties.

parameters
Object[]

An array containing the parameters.

Returns

An IVsDataReader object representing a data reader for the returned properties.

Exceptions

The typeName parameter is null.

The length of the typeName parameter is not greater than zero.

The restrictions parameter is null, or its length is not greater than zero.

The site is null.

The provider could not be obtained.

Applies to