[This is preliminary documentation and subject to change.]
The DWbemContext.Clone method makes a logical copy of the current DWbemContext object. This method can be useful when you need to make many calls that have largely identical DWbemContext objects.
Clone(
[out] ppNewCopy As Object
) As Long
WBEM_E_FAILED | Unspecified error. |
WBEM_E_INVALID_PARAMETER | NOTHING was specified as a parameter, which is not legal. |
WBEM_E_OUT_OF_MEMORY | There was not enough memory to clone the object. |
WBEM_NO_ERROR | Success. |