Sets the name of the event that is associated with the scriptlet.
Syntax
HRESULT SetEventName(
LPCOLESTR psz
);
Parameters
psz
[in] A buffer that contains the 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. |