IFilterRegistration2 Interface

The IFilterRegistration2 interface defines the methods and properties of the FilterRegistration2 object.

The FilterRegistration2 object provides methods for registering and unregistering an IFilter for use with Microsoft SharePoint Portal Server Search (SharePointPSSearch).

Extends

IFilterRegistration interface

Public Methods

The following table describes methods of the IFilterRegistration2 interface.

Name Description
GetDefaultFilterExtList Gets a list of file name extensions that are registered to use the default filter if no other IFilter is registered.
RegisterDefaultFilterExtList Registers one or more file name extensions to use the default IFilter if no other IFilter is registered.
RegisterFilterEx Creates the registry entries needed to set an IFilter as a handler for one or more data sources or content types.
UnregisterDefaultFilterExtList Removes registration information for one or more file name extensions that are registered to use the default IFilter if no other IFilter is registered.

Remarks

Use the IFilterRegistration2 methods in the DLLRegisterServer and DLLUnregisterServer functions of your custom IFilter.

When IFilters use the methods provided in the IFilterRegistration2 interface, the following mapping styles are supported:

  • Mapping of an IFilter to a file name extension. This is the standard mapping available for previous IFilter versions.
  • Mapping of an IFilter to a particular Multipurpose Internet Mail Extension (MIME) encoding type.
  • Mapping of an IFilter to particular data types for a specified indexing catalog.
  • Mapping of an IFilter as the default filter for a data source for the indexing service.

Requirements

Platform: Microsoft Windows Server 2003