共用方式為


Event.PredicateExpression 屬性

Gets or sets the string representation of the PredExpr object of an Event object.

命名空間:  Microsoft.SqlServer.Management.XEvent
組件:  Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property PredicateExpression As String 
    Get 
    Set
'用途
Dim instance As Event 
Dim value As String 

value = instance.PredicateExpression

instance.PredicateExpression = value
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
public string PredicateExpression { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
public:
property String^ PredicateExpression {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
member PredicateExpression : string with get, set
function get PredicateExpression () : String 
function set PredicateExpression (value : String)

屬性值

型別:System.String
A String value that specifies the predicate expression of an Event object.

請參閱

參考

Event 類別

Microsoft.SqlServer.Management.XEvent 命名空間