WmiConfigurationAttribute.Scope Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the WMI namespace in which the WMI provider exposes classes.
public:
property System::String ^ Scope { System::String ^ get(); };
public string Scope { get; }
member this.Scope : string
Public ReadOnly Property Scope As String
Property Value
A String value that indicates the namespace in which the WMI provider exposes classes.
Remarks
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're expanding upon the standard 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.