ManagementObject Constructor

 
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 ManagementObject class.

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

NameDescription
System_CAPS_pubmethodManagementObject()

Initializes a new instance of the ManagementObject class. This is the default constructor.

System_CAPS_pubmethodManagementObject(ManagementPath)

Initializes a new instance of the ManagementObject class for the specified WMI object path. The path is provided as a ManagementPath.

System_CAPS_pubmethodManagementObject(ManagementPath, ObjectGetOptions)

Initializes a new instance of the ManagementObject class bound to the specified WMI path, including the specified additional options.

System_CAPS_pubmethodManagementObject(ManagementScope, ManagementPath, ObjectGetOptions)

Initializes a new instance of the ManagementObject class bound to the specified WMI path that includes the specified options.

System_CAPS_protmethodManagementObject(SerializationInfo, StreamingContext)

Initializes a new instance of the ManagementObject class that is serializable.

System_CAPS_pubmethodManagementObject(String)

Initializes a new instance of the ManagementObject class for the specified WMI object path. The path is provided as a string.

System_CAPS_pubmethodManagementObject(String, ObjectGetOptions)

Initializes a new instance of the ManagementObject class bound to the specified WMI path, including the specified additional options. In this variant, the path can be specified as a string.

System_CAPS_pubmethodManagementObject(String, String, ObjectGetOptions)

Initializes a new instance of the ManagementObject class bound to the specified WMI path, and includes the specified options. The scope and the path are specified as strings.

Return to top
Show: