Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns a data reader for the data objects retrieved from the object store, which are filtered by the specified restrictions, properties, and parameters.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Overrides Function SelectObjects ( _
typeName As String, _
restrictions As Object(), _
properties As String(), _
parameters As Object() _
) As IVsDataReader
protected override IVsDataReader SelectObjects(
string typeName,
Object[] restrictions,
string[] properties,
Object[] parameters
)
protected:
virtual IVsDataReader^ SelectObjects(
String^ typeName,
array<Object^>^ restrictions,
array<String^>^ properties,
array<Object^>^ parameters
) override
abstract SelectObjects :
typeName:string *
restrictions:Object[] *
properties:string[] *
parameters:Object[] -> IVsDataReader
override SelectObjects :
typeName:string *
restrictions:Object[] *
properties:string[] *
parameters:Object[] -> IVsDataReader
protected override function SelectObjects(
typeName : String,
restrictions : Object[],
properties : String[],
parameters : Object[]
) : IVsDataReader
Parameters
- typeName
Type: System.String
The data source–specific name of the specified type to retrieve data objects for.
- restrictions
Type: array<System.Object[]
The restrictions for filtering the data objects returned.
- properties
Type: array<System.String[]
Specifies the property values of the requested data objects. This is not supported in the current version of DDEX.
- parameters
Type: array<System.Object[]
An array containing the parameters for the specified type.
Return Value
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader
An IVsDataReader object representing a data reader for the selected data objects.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The typeName parameter is nulla null reference (Nothing in Visual Basic). |
| ArgumentException | 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. |
| InvalidOperationException | The site is null. |
| NotImplementedException | The provider cannot be obtained. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.