Skip to content

Latest commit

 

History

History
77 lines (63 loc) · 1.94 KB

nf-mi-mi_instance_setnamespace.md

File metadata and controls

77 lines (63 loc) · 1.94 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mi.MI_Instance_SetNameSpace
MI_Instance_SetNameSpace function (mi.h)
Sets the namespace name of the specified instance.
MI_Instance_SetNameSpace
MI_Instance_SetNameSpace function [Windows Management Infrastructure (MI)]
mi/MI_Instance_SetNameSpace
wmi_v2.mi_instance_setnamespace
wmi_v2\mi_instance_setnamespace.htm
wmi_v2
edf17b80-698b-43f3-9e03-5435638d3209
12/05/2018
MI_Instance_SetNameSpace, MI_Instance_SetNameSpace function [Windows Management Infrastructure (MI)], mi/MI_Instance_SetNameSpace, wmi_v2.mi_instance_setnamespace
mi.h
Windows
Windows 8
Windows Server 2012
Windows
Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2
19H1
MI_Instance_SetNameSpace
mi/MI_Instance_SetNameSpace
c++
APIRef
kbSyntax
HeaderDef
Mi.h
MI_Instance_SetNameSpace

MI_Instance_SetNameSpace function

-description

Sets the namespace name of the specified instance.

-parameters

-param self [in, out]

Instance whose namespace name is to be set.

-param nameSpace

A null-terminated string that represents the new namespace name.

-returns

A value of the MI_Result enumeration that specifies the function return code. This can be one of the following codes.

-remarks

Namespace names must conform to the following examples:

  • root
  • root/cimv2
  • aaa/bbb/ccc