Export (0) Print
Expand All

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 string Scope { 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

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft