Returns 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 GetSimpleEventName(
BSTR *pbstr
);
Parameters
pbstr
[out] 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. |