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

InTrust 11.5.1 - InTrust SDK Reference

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

IInTrustScriptCollection

Provides a collection of scripts used in InTrust operations.

Methods

_NewEnum

Returns an enumerator for the collection.

Syntax

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

Parameter
Name Type Meaning

pVal

LPUNKNOWN*

Collection enumerator.

Add

Adds a script to the collection.

Syntax

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

Parameters
Name Type Meaning

ppScript

IScript**

Script to add to the collection.

Item

Gets a script from the collection by name.

Syntax

HRESULT Item(
    [in] BSTR bstrScript,
    [out, retval] IScript** ppScript
);

Parameters
Name Type Meaning

bstrScript

BSTR

Name of the script.

ppScript

IScript**

The returned script.

Remove

Removes the script with the specified name from the collection.

Syntax

HRESULT Remove(
    [in] BSTR bstrScript
);

Parameter
Name Type Meaning

bstrScript

BSTR

Name of the script to remove.

IInTrustServer

Provides access to an InTrust server.

Methods

Name

Returns the name of the InTrust server.

Syntax

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

Parameter
Name Type Meaning

pVal

BSTR*

Name of the InTrust server.

Organization

The InTrust organization that the InTrust server belongs to.

Syntax

HRESULT Organization(
    [out, retval] IInTrustOrganization** pVal
);

Parameter
Name Type Meaning

pVal

IInTrustOrganization**

InTrust organization interface.

IInTrustServer3

Provides access to an InTrust server.

Methods

ForwardingSupport

Returns the global event forwarding configuration.

Syntax

HRESULT ForwardingSupport(
    [out, retval] IInTrustServerForwardingSupport** ppVal
);

Parameter
Name Type Meaning

ppVal

IInTrustServerForwardingSupport**

Global event forwarding configuration.

ID

Returns the ID of the InTrust server.

Syntax

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

Parameter
Name Type Meaning

pVal

BSTR*

ID of the InTrust server.

Name

Returns the name of the InTrust server.

Syntax

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

Parameter
Name Type Meaning

pVal

BSTR*

Name of the InTrust server.

Organization

The InTrust organization that the InTrust server belongs to.

Syntax

HRESULT Organization(
    [out, retval] IInTrustOrganization** pVal
);

Parameter
Name Type Meaning

pVal

IInTrustOrganization**

InTrust organization interface.

Version

Returns the InTrust Server version.

Syntax

HRESULT Version(
    [out, retval] BSTR* pVersion
);

Parameter
Name Type Meaning

pVersion

BSTR*

InTrust Server version.

IInTrustServerCollection

Provides a collection of all InTrust servers in the InTrust organization.

Methods

Item

Provides access to the specified InTrust server.

Syntax

HRESULT Item(
    [in] BSTR bstrServerIdentity,
    [out, retval] IInTrustServer**
);

Parameters
Name Type Meaning

bstrServerIdentity

BSTR

Name of the InTrust server.

 

IInTrustServer**

InTrust server interface.

_NewEnum

References InTrust servers in a collection.

Syntax

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

Parameter
Name Type Meaning

pVal

LPUNKNOWN*

Enumerated InTrust servers.

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级