ManagementScope Constructor (ManagementPath, ConnectionOptions)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

path
Type: System.Management.ManagementPath

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

options
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
Show: