Export (0) Print
Expand All

ManagementObject.CopyTo Method (String, PutOptions)

Copies the object to a different location.

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

member CopyTo : 
        path:string * 
        options:PutOptions -> ManagementPath


Type: System.String

The path to which the object should be copied.

Type: System.Management.PutOptions

The options for how the object should be put.

Return Value

Type: System.Management.ManagementPath
The new path of the copied object.

.NET Framework Security

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft