IRuntimeHelper.GetUserInputFilterByName Method
Gets the user input filter that has the given name from the filter collection.
Namespace: Microsoft.BusinessData.Runtime
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function GetUserInputFilterByName ( _
filters As IFilterCollection, _
name As String _
) As IUserInputFilter
'Usage
Dim instance As IRuntimeHelper
Dim filters As IFilterCollection
Dim name As String
Dim returnValue As IUserInputFilter
returnValue = instance.GetUserInputFilterByName(filters, _
name)
IUserInputFilter GetUserInputFilterByName(
IFilterCollection filters,
string name
)
Parameters
filters
Type: Microsoft.BusinessData.Runtime.IFilterCollectionThe collection of filters.
name
Type: System.StringThe name of the filter.
Return Value
Type: Microsoft.BusinessData.Runtime.IUserInputFilter
The available user input 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.