Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WmiConfigurationAttribute::Scope Property

 

Gets or sets the WMI namespace in which the WMI provider exposes classes.

Namespace:   System.Management.Instrumentation
Assembly:  System.Core (in System.Core.dll)

public:
property String^ Scope {
	String^ get();
}

Property Value

Type: System::String^

A String value that indicates the namespace in which the WMI provider exposes classes.

A WMI namespace is a category within the WMI repository. The commonly-used root/cimv2 namespace houses classes that describe the Common Information Model, Version 2, defined by the Desktop Management Task Force (DMTF) consortium. You should only expose your providers in that namespace if you expanding upon the standand CIM model. Otherwise, you should create an appropriate namespace that makes clear to users the type of WMI classes they can expect to find in the namespace.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft