Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a predicate expression that can be used in a conditional statement.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.XEvent.Predicate
Microsoft.SqlServer.Management.XEvent.PredExpr
Microsoft.SqlServer.Management.XEvent.PredCompareExpr
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Public NotInheritable Class PredCompareExpr _
Inherits PredExpr
'Usage
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
The PredCompareExpr type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
PredCompareExpr | Initializes a new instance of the PredCompareExpr class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Operand | Gets the operand. |
![]() |
Operator | Gets the compare operator. |
![]() |
Value | Gets the value. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Top
Examples
The following expression could be used in a PredCompareExpr object.
sqlserver.database_id=7
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.