ManagementQuery.ParseQuery メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ManagementQuery.ParseQuery メソッドの意味・解説 

ManagementQuery.ParseQuery メソッド

クエリ文字列解析しその結果に応じてプロパティ値を設定しますクエリ有効な場合は、クエリクラス名プロパティおよび条件プロパティ解析されます。

名前空間: System.Management
アセンブリ: System.Management (system.management.dll 内)
構文構文

解説解説
使用例使用例

クエリからクラス名プロパティおよび条件プロパティ解析する例を次に示します

Imports System
Imports System.Management


Public Class Sample
    Public Overloads Shared
 Function _
        Main(ByVal args() As String)
 As Integer

        Dim query As SelectQuery
        query = New SelectQuery("SELECT * "
 & _
            "FROM Win32_LogicalDisk " & _
            "WHERE FreeSpace < 4000000")
        ' The query is parsed so that the className property
        ' is Win32_LogicalDisk and the condition property
        ' is FreeSpace < 4000000

    End Function
End Class
using System;
using System.Management;

public class Sample 
{    
    public static void Main()
 
    {

        SelectQuery query = new SelectQuery("SELECT * "
 +
            "FROM Win32_LogicalDisk " +
            "WHERE FreeSpace < 4000000");
        // The query is parsed so that the className property
        // is Win32_LogicalDisk and the condition property
        // is FreeSpace < 4000000

    }
}
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からManagementQuery.ParseQuery メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からManagementQuery.ParseQuery メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からManagementQuery.ParseQuery メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

ManagementQuery.ParseQuery メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ManagementQuery.ParseQuery メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS