Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The CreateContext method is called by a script provider to create a new context in which to place the contents of the script. Such context is represented by the IDataModelScriptHostContext interface.
Syntax
HRESULT CreateContext(
IDataModelScript *script,
IDataModelScriptHostContext **scriptContext
);
Parameters
script
The script for which to create a new context.
scriptContext
The newly created script host context is returned here.
Return value
This method returns HRESULT which indicates success or failure.
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |