LogsCmdletBase.AddConditionIfPResent(String, String, String) Method

Definition

Adds a condition to the query filter based on the give name and the value

protected string AddConditionIfPResent(string currentQueryFilter, string name, string value);
member this.AddConditionIfPResent : string * string * string -> string
Protected Function AddConditionIfPResent (currentQueryFilter As String, name As String, value As String) As String

Parameters

currentQueryFilter
String

The current query filter

name
String

The name to be used in the new condition

value
String

The value to be used in the new condition.

If this value is null, the currentQueryFilter is returned unmodified.

Returns

Applies to