次の方法で共有


ServerTraceEventSet.Userconfigurable2 プロパティ

イベントがイベント セットに含まれるかどうかを示す Boolean プロパティ値を取得します。値の設定も可能です。 イベントは、ユーザーによって構成されます。

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

構文

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

value = instance.Userconfigurable2

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

プロパティ値

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

説明

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

使用例

SMO イベントの処理

関連項目

参照

ServerTraceEventSet クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

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

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