立即与支持人员聊天
与支持团队交流

InTrust 11.6 - InTrust SDK Reference

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

IDomainEnumeration

Indicates which method of domain enumeration is used for populating an InTrust site. If the result is ComputerListDomainEnumeration, you can cast this to IComputerListDomainEnumeration to obtain and modify the configuration.

Method

Type

Gets the method of domain enumeration used for populating an InTrust site.

Syntax

HRESULT Type(
    [out, retval] enum DomainEnumerationType* pType
);

Parameter
Name Type Meaning

pType

enum DomainEnumerationType*

Which method of domain enumeration is used.

IDomainSiteObject

Represents computers in an InTrust site that are indicated by an Active Directory domain.

Methods

Domain (getter)

Gets the domain that indicates the computers.

Syntax

HRESULT Domain(
    [out, retval]BSTR* bstrDomain
);

Parameter
Name Type Meaning

bstrDomain

BSTR*

Domain that indicates the computers.

Domain (setter)

Sets the domain that indicates the computers.

Syntax

RESULT Domain(
    [in]BSTR bstrDomain
);

Parameter
Name Type Meaning

bstrDomain

BSTR

Domain that indicates the computers.

IEnumerationScriptSiteObject

Represents a script that enumerates the computers to include in an InTrust site.

Methods

Script (getter)

Returns the script that enumerates site computers.

Syntax

HRESULT Script(
    [out, retval]IScript** ppScript
);

Parameter
Name Type Meaning

ppScript

IScript**

Script that enumerates site computers.

Script (setter)

Sets the script that enumerates site computers.

Syntax

HRESULT Script(
    [in]IScript* pScript
);

Parameter
Name Type Meaning

pScript

IScript*

Script that enumerates site computers.

Name (getter)

Returns the name of the script.

Syntax

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

Parameter
Name Type Meaning

bstrName

BSTR*

Name of the script.

Name (setter)

Sets the name of the script.

Syntax

HRESULT Script(
    [in]BSTR bstrName
);

Parameter
Name Type Meaning

bstrName

BSTR

Name of the script.

Arguments

Provides access to the arguments used with the script.

Syntax

HRESULT Arguments(
    [out, retval]IScriptArgumentCollection** ppArguments
);

Parameter
Name Type Meaning

ppArguments

IScriptArgumentCollection**

Arguments used with the script.

IEventToRecordFormatter

Transforms event records to a representation suitable for insertion into a repository by the PutRecords2 method of IRepositoryRecordInserter. For details about event records, see Event Record Data Structures.

Method

Format

Performs the event-to-record transformation.

Syntax

HRESULT Format(
    [in] SAFEARRAY(struct event_with_extensions) events,
    [out, retval] IBulkRecord** ppBulkRecord
);

Parameters
Name Type Meaning

events

SAFEARRAY(struct event_with_extensions)

Event records to put into the repository.

ppBulkRecord

IBulkRecord**

Repository records prepared for insertion.

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级