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

InTrust 11.6 - InTrust SDK Reference

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

ISiteComputerCollection

Represents an InTrust site associated with a collection visible in InTrust Deployment Manager.

Description (getter)

Returns the description of the site.

Syntax

HRESULT Description(
    [out, retval]BSTR* bstrDescription
);

Parameter
Name Type Meaning

bstrDescription

BSTR*

Description of the site.

Description (setter)

Sets the description of the site.

Syntax

HRESULT Description(
    [in]BSTR bstrDescription
);

Parameter
Name Type Meaning

bstrDescription

BSTR

Description of the site.

Enumerate

Enumerates the computers in the site.

Syntax

HRESULT Enumerate(
    [out, retval] ISiteComputerCollection** ppIterator
);

Parameter
Name Type Meaning

ppIterator

ISiteComputerCollection**

Enumerated site.

EnumerationPeriod (getter)

Returns the interval (in hours) between site enumerations that refresh the site membership.

Syntax

HRESULT EnumerationPeriod(
    [out, retval] long* pEnumerationPeriod
);

Parameter
Name Type Meaning

pEnumerationPeriod

long*

Interval (in hours) between site enumerations that refresh the site membership.

EnumerationPeriod (setter)

Sets the interval (in hours) between site enumerations that refresh the site membership.

Syntax

HRESULT EnumerationPeriod(
    [in] long enumerationPeriod
);

Parameter
Name Type Meaning

pEnumerationPeriod

long

Interval (in hours) between site enumerations that refresh the site membership.

ID

Returns the ID of the site.

Syntax

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

Parameter
Name Type Meaning

pID

BSTR*

ID of the site.

InstallAgents

Installs agents on the site computers.

Syntax

HRESULT InstallAgents();

Name (getter)

Returns the name of the site.

Syntax

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

Parameter
Name Type Meaning

bstrName

BSTR*

Name of the site.

Name (setter)

Sets the name of the site.

Syntax

HRESULT Name(
    [in]BSTR bstrName
);

Parameter
Name Type Meaning

bstrName

BSTR

Name of the site.

Server (getter)

Returns the InTrust server that manages the site.

Syntax

HRESULT Server(
    [out, retval] IInTrustServer3** ppServer
);

Parameter
Name Type Meaning

ppServer

IInTrustServer3**

InTrust server that manages the site.

Server (setter)

Sets the InTrust server that manages the site.

Syntax

HRESULT Server(
    [in] IInTrustServer3* pServer
);

Parameter
Name Type Meaning

pServer

IInTrustServer3*

InTrust server that manages the site.

SiteObjects

Provides access to the collection of objects in the site.

Syntax

HRESULT SiteObjects(
    [out, retval] ISiteObjectCollection** pSiteObjects
);

Parameter
Name Type Meaning

pSiteObjects

ISiteObjectCollection**

Collection of objects in the site.

Type

Returns the type of the site.

Syntax

HRESULT Type(
    [out, retval] enum SiteType* pSiteType
);

Parameter
Name Type Meaning

pSiteType

enum SiteType*

Type of the site.

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级