Microsoft Deployment Toolkit
Documentation Library HRESULT SetNamespace(LPCWSTR namespaceName)
This
method sets the WMI namespace that will be used for the query. Call
this method before you call ExecQuery. If
you do not call this method, the namespace will be root\cimv2. This
method always returns S_OK.