This method accepts a VB script code and runs it using the Windows Script Engine.
HRESULT Run(
[in] BSTR Script)
Parameters:
Script – A string that represents a VB script code. This string can consist of one or more lines of code.
Return Values:
The return value obtained from the returned HRESULT can be one of the following:
Return value |
Meaning |
S_OK |
Success. |
E_FAIL |
Catastrophic failure. |
TE_E_NOLICENSE |
You are running TerraExplorer Viewer and therefore do not have permission to work with this interface. |