Chat now with support
Chat with Support

InTrust 11.6 - InTrust SDK Reference

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

IMicrosoftNetworkSite

Represents an InTrust site of the Microsoft Windows Network type.

Methods

AgentAccessCredentials

Provides access to the credentials used for running the agent service.

Syntax

HRESULT AgentAccessCredentials(
    [in, defaultvalue(CurrentCusomizableCredentials)] enum CustomizableCredentialsType,
    [out, retval] ICustomizableCredentials** pCredentials
);

Parameters
Name Type Meaning

 

enum CustomizableCredentialsType

What kind of credential set to use.

pCredentials

ICustomizableCredentials**

Credential set to use.

DomainEnumeration

Provides access to the choice of domain enumeration method for sites to use.

Syntax

HRESULT DomainEnumeration(
    [in, defaultvalue(CurrentDomainEnumeration)] enum DomainEnumerationType,
    [out, retval] IDomainEnumeration** pDomainEnumeration
);

Parameters
Name Type Meaning

 

enum DomainEnumerationType

What kind of domain enumeration method to use.

pDomainEnumeration

IDomainEnumeration**

Choice of domain enumeration mechanism.

InstallAgentsAutomatically (getter)

Returns whether automatic installation of agents on the site computers is enabled.

Syntax

HRESULT InstallAgentsAutomatically(
    [out, retval] VARIANT_BOOL* pInstallAutomatically
);

Parameter
Name Type Meaning

pInstallAutomatically

VARIANT_BOOL*

Whether automatic installation of agents on the site computers is enabled.

InstallAgentsAutomatically (setter)

Sets whether automatic installation of agents on the site computers is enabled.

Syntax

HRESULT InstallAgentsAutomatically(
    [in] VARIANT_BOOL pInstallAutomatically
);

Parameter
Name Type Meaning

pInstallAutomatically

VARIANT_BOOL

Whether automatic installation of agents on the site computers is enabled.

SiteAccessCredentials

Provides access to the credentials used for site enumeration and installation of agents on site computers.

Syntax

HRESULT SiteAccessCredentials(
    [in, defaultvalue(CurrentCusomizableCredentials)] enum CustomizableCredentialsType,
    [out, retval] ICustomizableCredentials** pCredentials
);

Parameters
Name Type Meaning

 

enum CustomizableCredentialsType

What kind of credential set to use.

pCredentials

ICustomizableCredentials**

Credential set to use.

 

IMultiRepositorySearcher

A container for search objects that lets you search in all of the specified repositories simultaneously.

Caution: This container is optimized for shared use. Therefore, it is strongly recommended that you create only one IMultiRepositorySearcher and reuse it rather than creating different IMultiRepositorySearcher instances for different search queries and sets of repositories.

Methods

MakeMultiSearchObject

Creates a search object that uses multiple repositories at once.

Syntax

HRESULT MakeMultiSearchObject(
    [in] BSTR rel_query,
    [in] SAFEARRAY(IDispatch) psaSeachers,
    [out, retval] IObservable** search_object

);

Parameters
Name Type Meaning

rel_query

BSTR

Search query.

psaSeachers

SAFEARRAY(IDispatch)

Searcher interfaces for the repositories you want to search in.

search_object

IObservable**

Interface that provides search functionality.

 

IMultiRepositorySearcherFactory

Creates an instance of IMultiRepositorySearcher.

CreateMultiRepositorySearcher

Creates the IMultiRepositorySearcher.

Syntax

HRESULT CreateMultiRepositorySearcher(
    [in] VARIANT eventory_xml,
    [out, retval] IMultiRepositorySearcher** rep_searcher
);

Parameters
Name Type Meaning

eventory_xml

VARIANT

String representation of the log knowledge base to use with the multi-repository searches. To use the fallback knowledge base, specify null.

rep_searcher

IMultiRepositorySearcher**

The searcher interface capable of working with multiple repositories at once.

 

IObservable

Defines a provider for push-based notification.

Method

Subscribe

Syntax

HRESULT Subscribe(
    [in] IObserver* observer,
    [out] ICookie** cookie
);

Parameters
Name Type Meaning

observer

IObserver*

Source of push-based notifications.

cookie

ICookie**

Keeps the search active while present.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating