次の方法で共有


ManagementObject.CopyTo メソッド (ManagementOperationObserver, ManagementPath)

オブジェクトを別の場所に非同期にコピーします。

Overloads Public Sub CopyTo( _
   ByVal watcher As ManagementOperationObserver, _   ByVal path As ManagementPath _)
[C#]
public void CopyTo(ManagementOperationObserverwatcher,ManagementPathpath);
[C++]
public: void CopyTo(ManagementOperationObserver* watcher,ManagementPath* path);
[JScript]
public function CopyTo(
   watcher : ManagementOperationObserver,path : ManagementPath);

パラメータ

  • watcher
    操作の結果を受け取るオブジェクト。
  • path
    オブジェクトのコピー先のパスを指定する ManagementPath

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

ManagementObject クラス | ManagementObject メンバ | System.Management 名前空間 | ManagementObject.CopyTo オーバーロードの一覧