Microsoft Internet Security and Acceleration Server 2000

FPCEventDefinitions.Add Method

Creates a new event, inserts it into the collection, and returns a reference to it. Creating a new event can only be done through the ISA administration COM objects, not in ISA Management.

VBScript Syntax[VBScript]

[ oFPCEventDefinition = ] FPCEventDefinitions.Add( sName, sEventGUID, vAdditionalKeys )

C++ Syntax[C++]

HRESULT Add(
  BSTR sName,
  BSTR sEventGUID,
  VARIANT *pvAdditionalKeys,
  IFPCEventDefinition **ppoFPCEventDefinition
);

Parameters

sName
Required. String that specifies the name of the new event. Name should be unique in the collection.
sEventGUID
Required. String that specifies the globally unique identifier (GUID) of the new event.
vAdditionalKeys
Optional. Reference to a string array of subevents. See FPCEventDefinition.AdditionalKeys.

Return Values

oFPCEventDefinition
Returns a reference to the FPCEventDefinition object of the new event.

Applies To

FPCEventDefinitions