Tchater maintenant avec le support
Tchattez avec un ingénieur du support

InTrust 11.6.1 - InTrust SDK Reference

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

ISiteObjectCollection

Represents the computer-specifying objects included in a site. Sites can be populated by indicating computers in a variety of ways, including IP ranges and Active DIrectory domains.

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 site object to the collection.

Syntax

HRESULT Add(
    [in] enum SiteObjectType objectType,
    [out, retval] ISiteObject** ppSiteObject
);

Parameters
Name Type Meaning

objectType

enum SiteObjectType

What kind of site object to add.

ppSiteObject

ISiteObject**

The site object to add to the collection.

Item

Gets a site object from the collection by ID.

Syntax

HRESULT Item(
    [in] BSTR siteObjectId,
    [out, retval] ISiteObject** ppSiteObject
);

Parameters
Name Type Meaning

siteObjectId

BSTR

ID of the site object to get.

ppSiteObject

ISiteObject**

The returned site object.

Remove

Removes the specified site object from the collection.

Syntax

HRESULT Remove(
    [in] BSTR bstrSiteObject
);

Parameter
Name Type Meaning

bstrSiteObject

BSTR

The site object to remove.

 

ITask2

Represents a subset of the configuration of an InTrust scheduled task.

Method

TaskCredentials

Provides access to the credentials used for running the task.

Syntax

HRESULT TaskCredentials(
    [in, defaultvalue(CurrentCusomizableCredentials)] enum CustomizableCredentialsType type,
    [out, retval] ICustomizableCredentials** ppCredentials
);

Parameters
Name Type Meaning

type

enum CustomizableCredentialsType

What kind of credential set is used.

ppCredentials

ICustomizableCredentials**

Credentials for running the task.

 

ITransportInfo

Represents a transport type supported by InTrust event forwarding.

Methods

GUID

Returns the GUID of the transport type.

Syntax

HRESULT GUID(
    [out, retval] BSTR* GUID
);

Parameter
Name Type Meaning

GUID

BSTR*

GUID of the transport type.

Name

Returns the display name of the transport type.

Syntax

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

Parameter
Name Type Meaning

val

BSTR*

Display name of the transport type.

ITransportInfoCollection

Provides a collection of all transport types supported by InTrust event forwarding.

Methods

_NewEnum

Returns an enumerator for the collection.

Syntax

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

Parameter
Name Type Meaning

pVal

LPUNKNOWN*

Collection enumerator.

Item

Gets a transport type from the collection by GUID.

Syntax

HRESULT Item(
    [in] BSTR GUID,
    [out, retval] ITransportInfo**
);

Parameters
Name Type Meaning

GUID

BSTR

GUID of the transport type.

 

ITransportInfo**

The transport type.

Documents connexes

The document was helpful.

Sélectionner une évaluation

I easily found the information I needed.

Sélectionner une évaluation