PredCompareExpr 类

Represents a predicate expression that can be used in a conditional statement.

继承层次结构

System.Object
  Microsoft.SqlServer.Management.XEvent.Predicate
    Microsoft.SqlServer.Management.XEvent.PredExpr
      Microsoft.SqlServer.Management.XEvent.PredCompareExpr

命名空间:  Microsoft.SqlServer.Management.XEvent
程序集:  Microsoft.SqlServer.Management.XEvent(在 Microsoft.SqlServer.Management.XEvent.dll 中)

语法

声明
Public NotInheritable Class PredCompareExpr _
    Inherits PredExpr
用法
Dim instance As PredCompareExpr
public sealed class PredCompareExpr : PredExpr
public ref class PredCompareExpr sealed : public PredExpr
[<SealedAttribute>]
type PredCompareExpr =  
    class 
        inherit PredExpr 
    end
public final class PredCompareExpr extends PredExpr

PredCompareExpr 类型公开以下成员。

构造函数

  名称 说明
公共方法 PredCompareExpr Initializes a new instance of the PredCompareExpr class.

页首

属性

  名称 说明
公共属性 Operand Gets the operand.
公共属性 Operator Gets the compare operator.
公共属性 Value Gets the value.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

示例

The following expression could be used in a PredCompareExpr object.

sqlserver.database_id=7

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.XEvent 命名空间