다음을 통해 공유


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 네임스페이스