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 Constructor (String^)

 

Initializes a new instance of the T:System.Management.WmiConfigurationAttribute class that specifies the WMI namespace in which the WMI provider will expose classes.

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

public:
WmiConfigurationAttribute(
	String^ scope
)

Parameters

scope
Type: System::String^

The WMI namespace in which the provider will expose classes. For example, "root\MyProviderNamespace".

A WMI provider must expose its classes in a namespace. That is why the constructor requires scope as a parameter.

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