Share via


IRuntimeHelper.GetOutputFilterByName Method

Gets the output filter with the specified name from the specified filter collection.

Namespace:  Microsoft.BusinessData.Runtime
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Function GetOutputFilterByName ( _
    filters As IFilterCollection, _
    name As String _
) As IOutputFilter
'Usage
Dim instance As IRuntimeHelper
Dim filters As IFilterCollection
Dim name As String
Dim returnValue As IOutputFilter

returnValue = instance.GetOutputFilterByName(filters, _
    name)
IOutputFilter GetOutputFilterByName(
    IFilterCollection filters,
    string name
)

Parameters

Return Value

Type: Microsoft.BusinessData.Runtime.IOutputFilter
The output filter.

Exceptions

Exception Condition
ObjectNotFoundException

A user input filter with the given name does not exist in the given collection of filters.

Remarks

Instances of objects in the Business Data Connectivity object model are tied to the Metadata Store they are obtained from. Using instances tied to one Metadata Store with the instances from another Metadata Store will cause data corruption and other unexpected behavior. For more information, see DatabaseBackedMetadataCatalog, FileBackedMetadataCatalog, and RemoteSharedFileBackedMetadataCatalog.

See Also

Reference

IRuntimeHelper Interface

IRuntimeHelper Members

Microsoft.BusinessData.Runtime Namespace