ManagementScope Constructor (ManagementPath, ConnectionOptions)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Initializes a new instance of the ManagementScope class representing the specified scope path, with the specified options.

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

public ManagementScope(
	ManagementPath path,
	ConnectionOptions options


Type: System.Management.ManagementPath

A ManagementPath containing the path to the server and namespace for the ManagementScope.

Type: System.Management.ConnectionOptions

The ConnectionOptions containing options for the connection.

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
Available since 1.1
Return to top