WqlEventQuery.GroupByPropertyList プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > WqlEventQuery.GroupByPropertyList プロパティの意味・解説 

WqlEventQuery.GroupByPropertyList プロパティ

同じ種類イベントグループ化するために使用するイベントプロパティ取得または設定します

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

Public Property GroupByPropertyList As
 StringCollection
Dim instance As WqlEventQuery
Dim value As StringCollection

value = instance.GroupByPropertyList

instance.GroupByPropertyList = value
public StringCollection GroupByPropertyList { get;
 set; }
public:
property StringCollection^ GroupByPropertyList {
    StringCollection^ get ();
    void set (StringCollection^ value);
}
/** @property */
public StringCollection get_GroupByPropertyList ()

/** @property */
public void set_GroupByPropertyList (StringCollection
 value)
public function get GroupByPropertyList
 () : StringCollection

public function set GroupByPropertyList
 (value : StringCollection)

プロパティ
同じ種類イベントグループ化するために使用するイベントプロパティ格納している StringCollection を返します

解説解説
使用例使用例

新しい WqlEventQuery を初期化してイベント クエリ文字列表示する例を次に示します

Imports System
Imports System.Management


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

        Dim query As New
 WqlEventQuery
        query.EventClassName = "__InstanceCreationEvent"
        query.Condition = "TargetInstance ISA 'Win32_NTLogEvent'"
        query.GroupWithinInterval = New TimeSpan(0, 0, 10)
        Dim collection As New
 System.Collections.Specialized. _
            StringCollection
        collection.Add("TargetInstance.SourceName")
        query.GroupByPropertyList = collection
        query.HavingCondition = "NumberOfEvents > 25"

        MessageBox.Show(query.QueryString)

    End Function 'Main
End Class 'EventSample
using System;
using System.Management;

public class EventSample 
{
    public static void Main(string[]
 args) 
    {
        WqlEventQuery query = new WqlEventQuery();
        query.EventClassName = "__InstanceCreationEvent";
        query.Condition = "TargetInstance ISA 'Win32_NTLogEvent'";
        query.GroupWithinInterval = new TimeSpan(0, 0, 10);
        System.Collections.Specialized.StringCollection collection =
            new System.Collections.Specialized.StringCollection();
        collection.Add("TargetInstance.SourceName");
        query.GroupByPropertyList = collection;
        query.HavingCondition = "NumberOfEvents > 25";

        Console.WriteLine(query.QueryString);
        return;
    }
}
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


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

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

辞書ショートカット

すべての辞書の索引

WqlEventQuery.GroupByPropertyList プロパティのお隣キーワード
検索ランキング

   

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



WqlEventQuery.GroupByPropertyList プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS