ManagementBaseObject::ClassPath Property

 

Gets the path to the management object's class.

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

public:
property ManagementPath^ ClassPath {
	virtual ManagementPath^ get();
}

Property Value

Type: System.Management::ManagementPath^

Returns a ManagementPath that contains the class path to the management object's class.

A ManagementPath that represents the path to the management object's class.

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.

The following example code lists all the classes with their class paths in the root\CIMV2 namespace.

For the \\MyBox\root\cimv2:Win32_LogicalDisk= 'C:' object, the class path is \\MyBox\root\cimv2:Win32_LogicalDisk.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: