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.
Returns an enumerator for the collection.
HRESULT _NewEnum(
[out, retval] LPUNKNOWN* pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
LPUNKNOWN* |
Collection enumerator. |
Adds a site object to the collection.
HRESULT Add(
[in] enum SiteObjectType objectType,
[out, retval] ISiteObject** ppSiteObject
);
Name | Type | Meaning |
---|---|---|
objectType |
enum SiteObjectType |
What kind of site object to add. |
ppSiteObject |
The site object to add to the collection. |
Gets a site object from the collection by ID.
HRESULT Item(
[in] BSTR siteObjectId,
[out, retval] ISiteObject** ppSiteObject
);
Name | Type | Meaning |
---|---|---|
siteObjectId |
BSTR |
ID of the site object to get. |
ppSiteObject |
The returned site object. |
Removes the specified site object from the collection.
HRESULT Remove(
[in] BSTR bstrSiteObject
);
Name | Type | Meaning |
---|---|---|
bstrSiteObject |
BSTR |
The site object to remove. |
Represents a subset of the configuration of an InTrust scheduled task.
Provides access to the credentials used for running the task.
HRESULT TaskCredentials(
[in, defaultvalue(CurrentCusomizableCredentials)] enum CustomizableCredentialsType type,
[out, retval] ICustomizableCredentials** ppCredentials
);
Name | Type | Meaning |
---|---|---|
type |
What kind of credential set is used. | |
ppCredentials |
Credentials for running the task. |
Represents a transport type supported by InTrust event forwarding.
Returns the GUID of the transport type.
HRESULT GUID(
[out, retval] BSTR* GUID
);
Name | Type | Meaning |
---|---|---|
GUID |
BSTR* |
GUID of the transport type. |
Returns the display name of the transport type.
HRESULT Name(
[out, retval] BSTR* val
);
Name | Type | Meaning |
---|---|---|
val |
BSTR* |
Display name of the transport type. |
Provides a collection of all transport types supported by InTrust event forwarding.
Returns an enumerator for the collection.
HRESULT _NewEnum(
[out, retval] LPUNKNOWN* pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
LPUNKNOWN* |
Collection enumerator. |
Gets a transport type from the collection by GUID.
HRESULT Item(
[in] BSTR GUID,
[out, retval] ITransportInfo**
);
Name | Type | Meaning |
---|---|---|
GUID |
BSTR |
GUID of the transport type. |
The transport type. |
© ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center