次の方法で共有


ServerTraceEventSet.TraceQueryNotifications プロパティ

イベントがイベント セットに含まれるかどうかを示す Boolean プロパティ値を取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Property TraceQueryNotifications As Boolean 
    Get 
    Set
'使用
Dim instance As ServerTraceEventSet 
Dim value As Boolean 

value = instance.TraceQueryNotifications

instance.TraceQueryNotifications = value
public bool TraceQueryNotifications { get; set; }
public:
property bool TraceQueryNotifications {
    bool get ();
    void set (bool value);
}
member TraceQueryNotifications : bool with get, set
function get TraceQueryNotifications () : boolean 
function set TraceQueryNotifications (value : boolean)

プロパティ値

型: System.Boolean
TraceQueryNotifications イベントがイベント セットに含まれるかどうかを示す Boolean 値。 True の場合、TraceQueryNotifications イベントはイベント セットに含まれます。 False (既定値) の場合、TraceQueryNotifications イベントはイベント セットに含まれません。

説明

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。

使用例

SMO イベントの処理

関連項目

参照

ServerTraceEventSet クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

イベントのトレースおよび再生

SQL Server イベント クラスの参照