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.
Performs the event-to-record transformation.
HRESULT Format(
[in] SAFEARRAY(struct event_with_extensions) events,
[out, retval] IBulkRecord** ppBulkRecord
);
Name | Type | Meaning |
---|---|---|
events |
SAFEARRAY(struct event_with_extensions) |
Event records to put into the repository. |
ppBulkRecord |
IBulkRecord** |
Repository records prepared for insertion. |
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.
Returns a searcher interface for the idle repository.
HRESULT Searcher(
[in, optional] VARIANT pIndexManager,
[out, retval] IInTrustRepositorySearcher** ppSearcher);
Name | Type | Meaning |
---|---|---|
pIndexManager |
VARIANT |
Interface that contains details about the index to use for searching in the repository. See IIndexManager for details. |
ppSearcher |
Searcher interface that you can supply your query to. |
Creates an idle InTrust repository. An idle repository has the correct structure on the file system, but is not registered with an InTrust organization.
Returns an idle InTrust repository.
HRESULT MakeIdleRepository(
[in] BSTR bstrPath,
[in] BSTR bstrUser,
[in] BSTR bstrPassword,
[out, retval] IIdleRepository **ppRepository);
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 |
The newly-created idle repository. |
Provides access to indexing-related operations.
Returns the ID of the index manager.
HRESULT GetID(
[out, retval] BSTR*
);
Name | Type | Meaning |
---|---|---|
|
BSTR* |
ID of the index manager. |
Shuts down the index manager.
HRESULT Shutdown();
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center