Export (0) Print
Expand All

ManagementPath.DefaultPath Property

Gets or sets the default scope path used when no scope is specified. The default scope is \\.\root\cimv2, and can be changed by setting this property.

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

public static ManagementPath DefaultPath { get; set; }

Property Value

Type: System.Management.ManagementPath
Returns a ManagementPath that contains the default scope (namespace) path used when no scope is specified.

Property Value

By default the scope value is \\.\root\cimv2, or a different scope path if the default was changed.

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft