次の方法で共有


ManagementPath.DefaultPath プロパティ

スコープが指定されない場合に使用する既定のスコープ パスを取得または設定します。既定のスコープは  \\.\root\cimv2 であり、このプロパティを設定することによって変更できます。

Public Shared Property DefaultPath As ManagementPath
[C#]
public static ManagementPath DefaultPath {get; set;}
[C++]
public: __property static ManagementPath* get_DefaultPath();public: __property static void set_DefaultPath(ManagementPath*);
[JScript]
public static function get DefaultPath() : ManagementPath;public static function set DefaultPath(ManagementPath);

プロパティ値

既定ではスコープの値は  \\.\root\cimv2 です。既定値が変更された場合は、異なるスコープ パスになります。

必要条件

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

.NET Framework セキュリティ:

参照

ManagementPath クラス | ManagementPath メンバ | System.Management 名前空間