Chat now with support
Chat with Support

InTrust 11.3.2 - InTrust SDK Reference

IEventToRecordFormatter

Transforms event records to a representation suitable for insertion into a repository by the PutRecords2 method of IRepositoryRecordInserter. For details about event records, see Event Record Data Structures.

Method

Format

Performs the event-to-record transformation.

Syntax

HRESULT Format(
    [in] SAFEARRAY(struct event_with_extensions) events,
    [out, retval] IBulkRecord** ppBulkRecord
);

Parameters
Name Type Meaning

events

SAFEARRAY(struct event_with_extensions)

Event records to put into the repository.

ppBulkRecord

IBulkRecord**

Repository records prepared for insertion.

IIdleRepository

Represents an idle repository. An idle repository has the correct structure on the file system, but is not registered with an InTrust organization. Currently, you can search in idle repositories using the repository API, but you cannot write to them.

Method

Searcher

Returns a searcher interface for the idle repository.

Syntax

HRESULT Searcher(
    [in, optional] VARIANT pIndexManager,
    [out, retval] IInTrustRepositorySearcher** ppSearcher);

Parameters
Name Type Meaning

pIndexManager

VARIANT

Interface that contains details about the index to use for searching in the repository. See IIndexManager for details.

ppSearcher

IInTrustRepositorySearcher

Searcher interface that you can supply your query to.

IIdleRepositoryFactory

Creates an idle InTrust repository. An idle repository has the correct structure on the file system, but is not registered with an InTrust organization.

Method

MakeIdleRepository

Returns an idle InTrust repository.

Syntax

HRESULT MakeIdleRepository(
    [in] BSTR bstrPath,
    [in] BSTR bstrUser,
    [in] BSTR bstrPassword,
    [out, retval] IIdleRepository **ppRepository);

Parameters
Name Type Meaning

bstrPath

BSTR

Search query.

bstrUser

BSTR

User account to use for the operation.

bstrPassword BSTR

Password to use for the operation.

ppRepository

IIdleRepository

The newly-created idle repository.

IIndexManager

Provides access to indexing-related operations.

Methods

GetID

Returns the ID of the index manager.

Syntax

HRESULT GetID(
    [out, retval] BSTR*
);

Parameter
Name Type Meaning

 

BSTR*

ID of the index manager.

Shutdown

Shuts down the index manager.

Syntax

HRESULT Shutdown();

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating