ManagementObject.CopyTo Method (String, PutOptions)

 
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.

Copies the object to a different location.

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

Public Function CopyTo (
	path As String,
	options As PutOptions
) As ManagementPath

Parameters

path
Type: System.String

The path to which the object should be copied.

options
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.

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: