IFPCAlertAction::Type property

Applies to: desktop apps only

The Type property gets a value from the FpcAlertActionTypes enumerated type that specifies the type of action to be performed when an alert is issued.

This property is read-only.

Syntax

HRESULT get_Type(
  FpcAlertActionTypes *pActionType
);
' Data type: FpcAlertActionTypes

Property Type( _
  ByVal pActionType As FpcAlertActionTypes _
) As FpcAlertActionTypes

Property value

Value from the FpcAlertActionTypes enumerated type that specifies the type of action to be performed when an alert is issued.

Error codes

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

This property is read-only. Its value is set by the method used to create the object. The following table lists the possible methods and the property value set by each method.

Method Property value
SetCommand fpcAlertActionCommand
SetLogEvent fpcAlertActionLogEvent
SetSendMail fpcAlertActionSendMail
SetStartServices fpcAlertActionStartServices
SetStopServices fpcAlertActionStopServices

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCAlertAction

 

 

Build date: 7/12/2010