FPCAlertActions.SetCommand
Method
Creates a new command-line action in the collection, or updates
the command-line action if it already exists.
VBScript Syntax[VBScript]
[ oFPCAlertAction = ] FPCAlertActions.SetCommand( sActionName, sCommand )
C++ Syntax[C++]
HRESULT SetCommand(
BSTR sActionName,
BSTR sCommand,
IFPCAlertAction **ppoFPCAlertAction
);
Parameters
- sActionName
- Required. String that specifies the name of the action. Can be
used in the FPCAlertActions collection to retrieve the
action.
- sCommand
- Required. String that specifies the command-line action.
Return Values
- oFPCAlertAction
- Gets a reference to an FPCAlertAction object for the new or
updated command-line action.
Applies To
FPCAlertActions