Share via


Event.PredicateExpression Property

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

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property PredicateExpression As String 
    Get 
    Set
'Usage
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)

Property Value

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

See Also

Reference

Event Class

Microsoft.SqlServer.Management.XEvent Namespace