Chat now with support
Chat with Support

Welcome, erwin customers to Quest Support Portal click here for for frequently asked questions regarding servicing your supported assets.

InTrust 11.3 - InTrust SDK Reference

IIndexManagerFactory

Creates an instance of IIndexManager for a production or idle repository.

Methods

GetRemoteIndexManager

Creates an IIndexManager instance for a production repository.

Syntax

HRESULT GetRemoteIndexManager(
    [in] BSTR pszServerName,
    [in] BSTR pszRepositoryIdentity,
    [out] IIndexManager** ppManager
);

Parameters
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.

GetLocalIndexManager

Creates an IIndexManager instance for an idle repository.

Syntax

HRESULT GetLocalIndexManager(
    [in] BSTR pszIndexPath,
    [in] BSTR pszRepositoryPath,
    [in] BSTR pszAcount,
    [in] BSTR pszPassword,
    [in] enum modeOpen mode,
    [out, retval] IIndexManager**
);

Parameters
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
MODE_CREATE = 1

 

IIndexManager**

Index manager to use for indexing-related operations.

IInTrustEnvironment

Entry point for access to InTrust organizations, servers and repositories.

Methods

ConnectToServer

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:

  • In InTrust Deployment Manager, click Manage | Configure Access.
  • In InTrust Manager, open the properties of the root node.
Syntax

HRESULT ConnectToServer(
    [in] BSTR bstrServerBinding,
    [out, retval] IInTrustServer** ppServer
);

Parameters
Name Type Meaning

bstrServerBinding

BSTR

Name of the InTrust server.

 

IInTrustServer**

InTrust server interface.

Organizations

Provides a collection of available InTrust organizations.

Syntax

HRESULT Organizations(
    [out, retval] IInTrustOrganizationCollection** ppOrganization
);

Parameter
Name Type Meaning

ppOrganization

IInTrustOrganizationCollection**

Collection of available InTrust organizations.

Eventory

Provides access to the log knowledge database associated with the InTrust organization.

Syntax

HRESULT Eventory(
    [out, retval] IInTrustEventory **ppVal
);

Parameter
Name Type Meaning

ppVal

IInTrustEventory**

Log knowledge database associated with the InTrust organization.

IInTrustEventory

Provides access to the log knowledge base, which contains rules that govern the transformation of log entries into repository and event records.

Methods

Eventory

Returns a string representation of the log knowledge base.

Syntax

HRESULT Eventory(
    [out, retval] BSTR* bstrEventory
);

Parameters
Name Type Meaning

bstrEventory

BSTR*

String representation of the log knowledge base.

Logs

Provides access to the log knowledge base entries through an IInTrustEventoryItemCollection.

Syntax

HRESULT Logs(
    [out, retval] IInTrustEventoryItemCollection** pVal
);

Parameters
Name Type Meaning

pVal

IInTrustEventoryItemCollection**

Log knowledge base entries.

DataSources

HRESULT DataSources(
    [out, retval] IInTrustEventoryItemCollection** pVal
);

Parameters
Name Type Meaning

pVal

IInTrustEventoryItemCollection**

Log knowledge base entries.

IInTrustEventoryLog

IInTrustEventoryItem

Represents an entry in the log knowledge base.

Methods

Name

Returns the name of the log knowledge database entry.

Syntax

HRESULT Name(
    [out, retval] BSTR* bstrName

);

Parameter
Name Type Meaning

bstrName

BSTR*

Name of the log knowledge database entry.

Rules (out parameter)

Returns the rules defined for the log knowledge database entry. For details about the rule format, see Log Transformation Rule Format.

Syntax

HRESULT Rules(
    [out, retval] BSTR* bstrRules

);

Parameter
Name Type Meaning

bstrRules

BSTR*

Textual representation of the rules defined for the log knowledge database entry.

Rules (in parameter)

Sets the rules defined for the log knowledge database entry. For details about the rule format, see Log Transformation Rule Format.

Syntax

HRESULT Rules(
    [in] BSTR bstrRules

);

Parameter
Name Type Meaning

bstrRules

BSTR

Textual representation of the rules defined for the log knowledge database entry.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating