Sets the simple event name that is associated with a scriptlet. This is a single-word name that does not contain any white space.
Syntax
HRESULT SetSimpleEventName(
LPCOLESTR psz
);
Parameters
psz
[in] A buffer that contains the simple event name that is associated with the IScriptScriptlet object.
Return Value
An HRESULT. Possible values include, but are not limited to, those in the following table.
| Value | Description |
|---|---|
S_OK |
The method succeeded. |