ManagementObject.CopyTo Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies the object to a different location.
CopyTo(ManagementOperationObserver, String, PutOptions) |
Copies the object to a different location, asynchronously. |
CopyTo(ManagementOperationObserver, ManagementPath, PutOptions) |
Copies the object to a different location, asynchronously. |
CopyTo(String, PutOptions) |
Copies the object to a different location. |
CopyTo(ManagementPath, PutOptions) |
Copies the object to a different location. |
CopyTo(ManagementOperationObserver, ManagementPath) |
Copies the object to a different location, asynchronously. |
CopyTo(String) |
Copies the object to a different location. |
CopyTo(ManagementPath) |
Copies the object to a different location. |
CopyTo(ManagementOperationObserver, String) |
Copies the object to a different location, asynchronously. |
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
Copies the object to a different location, asynchronously.
public:
void CopyTo(System::Management::ManagementOperationObserver ^ watcher, System::String ^ path, System::Management::PutOptions ^ options);
public void CopyTo (System.Management.ManagementOperationObserver watcher, string path, System.Management.PutOptions options);
member this.CopyTo : System.Management.ManagementOperationObserver * string * System.Management.PutOptions -> unit
Public Sub CopyTo (watcher As ManagementOperationObserver, path As String, options As PutOptions)
Parameters
- watcher
- ManagementOperationObserver
The object that will receive the results of the operation.
- path
- String
The path to which the object should be copied.
- options
- PutOptions
The options for how the object should be put.
Remarks
.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.
Applies to
.NET 9 (package-provided) und andere Versionen
Produkt | Versionen |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
Copies the object to a different location, asynchronously.
public:
void CopyTo(System::Management::ManagementOperationObserver ^ watcher, System::Management::ManagementPath ^ path, System::Management::PutOptions ^ options);
public void CopyTo (System.Management.ManagementOperationObserver watcher, System.Management.ManagementPath path, System.Management.PutOptions options);
member this.CopyTo : System.Management.ManagementOperationObserver * System.Management.ManagementPath * System.Management.PutOptions -> unit
Public Sub CopyTo (watcher As ManagementOperationObserver, path As ManagementPath, options As PutOptions)
Parameters
- watcher
- ManagementOperationObserver
The object that will receive the results of the operation.
- path
- ManagementPath
The path to which the object should be copied.
- options
- PutOptions
The options for how the object should be put.
Remarks
.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.
Applies to
.NET 9 (package-provided) und andere Versionen
Produkt | Versionen |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
Copies the object to a different location.
public:
System::Management::ManagementPath ^ CopyTo(System::String ^ path, System::Management::PutOptions ^ options);
public System.Management.ManagementPath CopyTo (string path, System.Management.PutOptions options);
member this.CopyTo : string * System.Management.PutOptions -> System.Management.ManagementPath
Public Function CopyTo (path As String, options As PutOptions) As ManagementPath
Parameters
- path
- String
The path to which the object should be copied.
- options
- PutOptions
The options for how the object should be put.
Returns
The new path of the copied object.
Remarks
.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.
Applies to
.NET 9 (package-provided) und andere Versionen
Produkt | Versionen |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
Copies the object to a different location.
public:
System::Management::ManagementPath ^ CopyTo(System::Management::ManagementPath ^ path, System::Management::PutOptions ^ options);
public System.Management.ManagementPath CopyTo (System.Management.ManagementPath path, System.Management.PutOptions options);
member this.CopyTo : System.Management.ManagementPath * System.Management.PutOptions -> System.Management.ManagementPath
Public Function CopyTo (path As ManagementPath, options As PutOptions) As ManagementPath
Parameters
- path
- ManagementPath
The ManagementPath to which the object should be copied.
- options
- PutOptions
The options for how the object should be put.
Returns
The new path of the copied object.
Remarks
.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.
Applies to
.NET 9 (package-provided) und andere Versionen
Produkt | Versionen |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
Copies the object to a different location, asynchronously.
public:
void CopyTo(System::Management::ManagementOperationObserver ^ watcher, System::Management::ManagementPath ^ path);
public void CopyTo (System.Management.ManagementOperationObserver watcher, System.Management.ManagementPath path);
member this.CopyTo : System.Management.ManagementOperationObserver * System.Management.ManagementPath -> unit
Public Sub CopyTo (watcher As ManagementOperationObserver, path As ManagementPath)
Parameters
- watcher
- ManagementOperationObserver
The object that will receive the results of the operation.
- path
- ManagementPath
A ManagementPath specifying the path to which the object should be copied.
Remarks
.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.
Applies to
.NET 9 (package-provided) und andere Versionen
Produkt | Versionen |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
Copies the object to a different location.
public:
System::Management::ManagementPath ^ CopyTo(System::String ^ path);
public System.Management.ManagementPath CopyTo (string path);
member this.CopyTo : string -> System.Management.ManagementPath
Public Function CopyTo (path As String) As ManagementPath
Parameters
- path
- String
The path to which the object should be copied.
Returns
The new path of the copied object.
Remarks
.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.
Applies to
.NET 9 (package-provided) und andere Versionen
Produkt | Versionen |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
Copies the object to a different location.
public:
System::Management::ManagementPath ^ CopyTo(System::Management::ManagementPath ^ path);
public System.Management.ManagementPath CopyTo (System.Management.ManagementPath path);
member this.CopyTo : System.Management.ManagementPath -> System.Management.ManagementPath
Public Function CopyTo (path As ManagementPath) As ManagementPath
Parameters
- path
- ManagementPath
The ManagementPath to which the object should be copied.
Returns
The new path of the copied object.
Remarks
.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.
Applies to
.NET 9 (package-provided) und andere Versionen
Produkt | Versionen |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
- Source:
- ManagementObject.cs
Copies the object to a different location, asynchronously.
public:
void CopyTo(System::Management::ManagementOperationObserver ^ watcher, System::String ^ path);
public void CopyTo (System.Management.ManagementOperationObserver watcher, string path);
member this.CopyTo : System.Management.ManagementOperationObserver * string -> unit
Public Sub CopyTo (watcher As ManagementOperationObserver, path As String)
Parameters
- watcher
- ManagementOperationObserver
The object that will receive the results of the operation.
- path
- String
The path to which the object should be copied.
Remarks
.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.
Applies to
.NET 9 (package-provided) und andere Versionen
Produkt | Versionen |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Feedback zu .NET
.NET ist ein Open Source-Projekt. Wählen Sie einen Link aus, um Feedback zu geben: