Retrieves the line in the source file where an error occurred while a scripting engine was running a script.
HRESULT GetSourceLineText(
    BSTR *pbstrSourceLine  // address of buffer for source line
);
- pbstrSourceLine
- [out] Address of a buffer that receives the line of source code in which the error occurred. 
Returns S_OK if successful, or E_FAIL if the line in the source file was not retrieved.