Creates an instance of IIndexManager for a production or idle repository.
Creates an IIndexManager instance for a production repository.
HRESULT GetRemoteIndexManager(
[in] BSTR pszServerName,
[in] BSTR pszRepositoryIdentity,
[out] IIndexManager** ppManager
);
Name | Type | Meaning |
---|---|---|
pszServerName |
BSTR |
Name of an InTrust server in the same organization as the repository. |
pszRepositoryIdentity | BSTR |
ID of the production repository that you need. |
ppManager | IIndexManager** |
Index manager for the production repository. |
Creates an IIndexManager instance for an idle repository.
HRESULT GetLocalIndexManager(
[in] BSTR pszIndexPath,
[in] BSTR pszRepositoryPath,
[in] BSTR pszAcount,
[in] BSTR pszPassword,
[in] enum modeOpen mode,
[out, retval] IIndexManager**
);
Name | Type | Meaning |
---|---|---|
pszIndexPath |
BSTR |
Path to the index data for the idle repository. |
pszRepositoryPath | BSTR |
Path to the idle repository file structure. |
pszAcount | BSTR |
User name for access to the idle repository. |
pszPassword | BSTR |
Password for access to the idle repository. |
mode |
enum |
MODE_OPEN = 0 |
|
IIndexManager** |
Index manager to use for indexing-related operations. |
Entry point for access to InTrust organizations, servers and repositories.
Provides access to the specified InTrust server.
|
Caution: For this operation to succeed, the account you are using must be a member of the AMS Readers local group on the InTrust server you want to connect to. Alternatively, it can be an InTrust organization administrator. To configure this privilege for the account, do one of the following:
|
HRESULT ConnectToServer(
[in] BSTR bstrServerBinding,
[out, retval] IInTrustServer** ppServer
);
Name | Type | Meaning |
---|---|---|
bstrServerBinding |
BSTR |
Name of the InTrust server. |
|
InTrust server interface. |
Provides a collection of available InTrust organizations.
HRESULT Organizations(
[out, retval] IInTrustOrganizationCollection** ppOrganization
);
Name | Type | Meaning |
---|---|---|
ppOrganization |
Collection of available InTrust organizations. |
Provides access to the log knowledge database associated with the InTrust organization.
HRESULT Eventory(
[out, retval] IInTrustEventory **ppVal
);
Name | Type | Meaning |
---|---|---|
ppVal |
Log knowledge database associated with the InTrust organization. |
Provides access to the log knowledge base, which contains rules that govern the transformation of log entries into repository and event records.
Returns a string representation of the log knowledge base.
HRESULT Eventory(
[out, retval] BSTR* bstrEventory
);
Name | Type | Meaning |
---|---|---|
bstrEventory |
BSTR* |
String representation of the log knowledge base. |
Provides access to the log knowledge base entries through an IInTrustEventoryItemCollection.
HRESULT Logs(
[out, retval] IInTrustEventoryItemCollection** pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
Log knowledge base entries. |
HRESULT DataSources(
[out, retval] IInTrustEventoryItemCollection** pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
Log knowledge base entries. |
Represents an entry in the log knowledge base.
Returns the name of the log knowledge database entry.
HRESULT Name(
[out, retval] BSTR* bstrName
);
Name | Type | Meaning |
---|---|---|
bstrName |
BSTR* |
Name of the log knowledge database entry. |
Returns the rules defined for the log knowledge database entry. For details about the rule format, see Log Transformation Rule Format.
HRESULT Rules(
[out, retval] BSTR* bstrRules
);
Name | Type | Meaning |
---|---|---|
bstrRules |
BSTR* |
Textual representation of the rules defined for the log knowledge database entry. |
Sets the rules defined for the log knowledge database entry. For details about the rule format, see Log Transformation Rule Format.
HRESULT Rules(
[in] BSTR bstrRules
);
Name | Type | Meaning |
---|---|---|
bstrRules |
BSTR |
Textual representation of the rules defined for the log knowledge database entry. |
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center