Chat now with support
Chat with Support

InTrust 11.3 - InTrust SDK Reference

IInTrustEventoryLogCollection

IInTrustEventoryItemCollection

Provides a collection of IInTrustEventoryItem interfaces.

Methods

Item

Gets a log knowledge base entry from the collection by name.

Syntax

HRESULT Item(
    [in] BSTR bstrLogName,
    [out, retval] IInTrustEventoryItem** ppEventoryItem
);

Parameters
Name Type Meaning

bstrLogName

BSTR

Name of the log knowledge base entry. This name must exist in the collection.

ppEventoryItem

IInTrustEventoryItem**

The log knowledge base entry.

_NewEnum

Constructs the collection.

Syntax

HRESULT _NewEnum(
    [out, retval] LPUNKNOWN* pVal
);

Parameters
Name Type Meaning

pVal

LPUNKNOWN*

Collection constructor.

Add

Adds the specified entry.

Syntax

HRESULT Add(
    [in] BSTR bstrItemName,
    [in] BSTR bstrItemRules,
    [out, retval] IInTrustEventoryItem** ppEventoryItem
);

Parameters
Name Type Meaning

bstrItemName

BSTR

Name of the entry to add. The name must be unique.

bstrItemRules BSTR

Textual definition of the entry.

ppEventoryItem

IInTrustEventoryItem

The new log knowledge base entry.

Remove

Removes an entry from the collection by name.

Syntax

HRESULT Remove(
    [in] BSTR bstrItemName
);

Parameter
Name Type Meaning

bstrItemName

BSTR

Name of the entry to remove.

IInTrustOrganization

Provides access to an InTrust organization.

Methods

Name

Returns the name of the InTrust organization.

Syntax

HRESULT Name(
    [out, retval] BSTR* pVal
);

Parameter
Name Type Meaning

pVal

BSTR

Name of the InTrust organization.

Servers

Provides access to a collection of the InTrust servers in an InTrust organization.

Syntax

HRESULT Servers(
    [out, retval] IInTrustServerCollection** ppVal
);

Parameter
Name Type Meaning

ppVal

IInTrustServerCollection**

Collection of InTrust servers.

Repositories

Provides access to a collection of repositories in an InTrust organization.

Syntax

HRESULT Repositories(
    [out, retval] IInTrustRepositoryCollection** ppVal
);

Parameter
Name Type Meaning

ppVal

IInTrustRepositoryCollection**

Collection of repositories.

Eventory

Provides access to the organization-wide log knowledge base. See Log Knowledge Base API for details.

Syntax

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

Parameter
Name Type Meaning

ppVal

IInTrustEventory**

Log knowledge base.

IInTrustOrganizationCollection

Provides a collection of all available InTrust organizations.

Methods

Item

Provides access to the specified InTrust organization.

Syntax

HRESULT Item(
    [in] BSTR bstrOrganizationIdentity,
    [out, retval] IInTrustOrganization**
);

Parameters
Name Type Meaning

bstrOrganizationIdentity

BSTR

Name of the InTrust organization.

 

IInTrustOrganization**

InTrust organization interface.

_NewEnum

References InTrust organizations in a collection.

Syntax

HRESULT _NewEnum(
    [out, retval] LPUNKNOWN* pVal
);

Parameter
Name Type Meaning

pVal

LPUNKNOWN*

Enumerated InTrust organizations.

IInTrustRepository

Provides the searching and writing capabilities of a repository.

Methods

ID

Returns the GUID of the repository.

Syntax

HRESULT ID(
    [out, retval] GUID* pID

);

Parameter
Name Type Meaning

pID

GUID*

GUID of the repository.

Name

Returns the name of the repository.

Syntax

HRESULT Name(
    [out, retval] BSTR* pVal
);

Parameter
Name Type Meaning

pVal

BSTR*

Name of the repository. The name is not necessarily unique in an organization.

Path

Returns the path to the repository.

Syntax

HRESULT Path(
    [out, retval] BSTR* pVal
);

Parameter
Name Type Meaning

pVal

BSTR*

UNC path to the share that contains the repository.

IsIndexingEnabled

Indicates whether indexing is enabled for the repository.

Syntax

HRESULT IsIndexingEnabled(
    [out, retval] VARIANT* pVal
);

Parameter
Name Type Meaning

pVal

VARIANT*

Whether indexing is enabled for the repository.

Inserter

Provides an interface for inserting records into the repository. For details, see Writing Records.

Syntax

HRESULT Inserter(
    [out, retval] IRepositoryRecordInserter** ppInserter
);

Parameter
Name Type Meaning

ppInserter

IRepositoryRecordInserter**

Record-inserting interface associated with a particular repository.

Searcher

Provides an interface for finding records in the repository. For details, see Getting Records.

Syntax

HRESULT Searcher(
    [out, retval] IInTrustRepositorySearcher** ppSearcher
);

Parameter
Name Type Meaning

ppSearcher

IInTrustRepositorySearcher

A searcher interface that accepts search queries and provides results.

CustomAttributes (getter)

Provides access to the collection (instance of IPropertyCollection) of custom attributes attached to an InTrust repository (instances of IProperty).

Syntax

HRESULT CustomAttributes(
    [out, retval] IPropertyCollection** pVal
);

Parameter
Name Type Meaning

pVal

IPropertyCollection**

Collection of custom attributes attached to the repository.

CustomAttributes (setter)

Applies a collection (instance of IPropertyCollection) of custom attributes attached to an InTrust repository (instances of IProperty).

Syntax

HRESULT CustomAttributes(
    [in] IPropertyCollection* pVal
);

Parameter
Name Type Meaning

pVal

IPropertyCollection*

Custom attribute collection to attach to the repository.

ForwardingProperties (getter)

Provides access to the collection (instance of IPropertyCollection) of event forwarding properties configured for an InTrust repository (instances of IProperty).

Syntax

HRESULT ForwardingProperties(
    [out, retval] IPropertyCollection** ppForwardingProperties
);

Parameter
Name Type Meaning

ppForwardingProperties

IPropertyCollection**

Collection of event forwarding properties associated with the repository.

ForwardingProperties (setter)

Applies a collection (instance of IPropertyCollection) of event forwarding properties configured for an InTrust repository (instances of IProperty).

Syntax

HRESULT ForwardingProperties(
    [out, retval] IPropertyCollection* pProperties
);

Parameter
Name Type Meaning

pProperties

IPropertyCollection*

Collection of event forwarding properties to associate with the repository.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating