Chatee ahora con Soporte
Chat con el soporte

InTrust 11.4.2 - InTrust SDK Reference

InTrust SDK Overview Repository Services API Log Knowledge Base API Enumerations Interfaces

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.

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

Returns an enumerator for the collection.

Syntax

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

Parameters
Name Type Meaning

pVal

LPUNKNOWN*

Collection enumerator.

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.

IMPORTANT: This interface is deprecated. Before you start working with an organization, cast IInTrustOrganization to IInTrustOrganization3.

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.

IInTrustOrganization3

Provides access to an InTrust organization.

Methods

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.

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.

Scripts

Provides access to a collection of scripts that perform various InTrust operations.

Syntax

HRESULT Scripts(
    [out, retval]IInTrustScriptCollection** ppScripts
);

Parameters
Name Type Meaning

ppScripts

IInTrustScriptCollection**

Collection of InTrust-specific scripts.

Sites

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

Syntax

HRESULT Sites(
    [in, defaultvalue(VisibleSites)] enum SiteCollectionType,
    [out, retval] IInTrustSiteCollection** ppSites
);

Parameters
Name Type Meaning

 

enum SiteCollectionType

Whether you want all sites (including internally-used hidden ones) or just the general-purpose sites.

ppSites

IInTrustSiteCollection**

Collection of InTrust sites.

Repositories2

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

Syntax

HRESULT Repositories2(
    [out, retval] IInTrustRepositoryCollection2** ppVal
);

Parameter
Name Type Meaning

ppVal

IInTrustRepositoryCollection2**

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.

Documentos relacionados

The document was helpful.

Seleccionar calificación

I easily found the information I needed.

Seleccionar calificación