Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCEventDefinitions::ItemByGuid[C++]

FPCEventDefinitions.ItemByGuid [Visual Basic]

[C++]

The ItemByGuid method retrieves the requested IFPCEventDefinition interface from the collection according to its globally unique identifier (GUID) of its event.

HRESULT ItemByGuid(
  BSTR EventGuid,
  IFPCEventDefinition** ppItem
);

Parameters

EventGuid
[in] Required. String value that specifies the globally unique identifier (GUID) of the event defined by the object to be retrieved.
ppItem
[out] Address of an interface pointer that on return points to the IFPCEventDefinition interface requested.

Return Values

This method can return one of the following:
[Visual Basic]

The ItemByGuid method retrieves the requested FPCEventDefinition object from the collection according to the globally unique identifier (GUID) of its event.

Function ItemByGuid( _
  ByVal EventGuid As String _
) As FPCEventDefinition

Parameters

EventGuid
[in] Required. String value that specifies the globally unique identifier (GUID) of the event defined by the object to be retrieved.

Return Values

This method returns a reference to the FPCEventDefinition object requested if successful. Otherwise, an error is raised that can be intercepted by using an error handler.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCEventDefinitions