スコープが指定されない場合に使用する既定のスコープ パスを取得または設定します。既定のスコープは \\.\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 名前空間