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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。