ManagementOptions.Context Property

 

Gets or sets a WMI context object. This is a name-value pairs list to be passed through to a WMI provider that supports context information for customized operation.

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

public ManagementNamedValueCollection Context { get; set; }

Property Value

Type: System.Management.ManagementNamedValueCollection

Returns a ManagementNamedValueCollection that contains WMI context information.

A name-value pairs list to be passed through to a WMI provider that supports context information for customized operation.

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: