The Item method retrieves the requested FPCSignaledAlert object (IFPCSignaledAlert interface in C++) from the collection.
HRESULT Item( [in] VARIANT IndexOrEventGuid, [in, optional] VARIANT AdditionalKey, [in, optional] VARIANT Server, [out] IFPCLDTEntry** pItem );
Required. Globally unique identifier (GUID) of the event for which the alert is issued or one-based index of the object to retrieve.
Index specifying the subevent for which the alert is issued. This parameter should be set only if the IndexOrEventGuid parameter contains an event GUID. For more information, see IFPCAlert::AdditionalKey.
Name of the server that is allowed to issue the alert. This parameter should be set if only a specific server is allowed to issue the alert.
Address of an interface pointer that on return points to the IFPCSignaledAlert interface requested.
This method can return one of the following:
Function Item( _ ByVal IndexOrEventGuid As Variant, _ [ ByVal AdditionalKey As Variant ], _ [ ByVal Server As Variant ] _ ) As FPCLDTEntry
Required. Globally unique identifier (GUID) of the event for which the alert is issued or one-based index of the object to retrieve.
Index specifying the subevent for which the alert is issued. This parameter should be set only if the IndexOrEventGuid parameter contains an event GUID. For more information, see FPCAlert.AdditionalKey.
Name of the server that is allowed to issue the alert. This parameter should be set if only a specific server is allowed to issue the alert.
This method returns a reference to the FPCSignaledAlert object requested if successful. Otherwise, an error is raised that can be intercepted by using an error handler.
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
DLL |
Requires Msfpccom.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.