Returns the name of the event associated with the scriptlet.
Syntax
HRESULT GetEventName(
BSTR *pbstr
);
Parameters
pbstr
[out] 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. |