CopyTo Method (String)

ManagementObject.CopyTo Method (String)


Copies the object to a different location.

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

public ManagementPath CopyTo(
	string path


Type: System.String

The path to which the object should be copied.

Return Value

Type: System.Management.ManagementPath

The new path of the copied object.

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
© 2016 Microsoft