Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
Visual Basic |
---|
Dim instance As ResultObjectsManager Dim baseQuery As String Dim escapeForQueryUsage As Boolean Dim normalizeValueForCondition As Boolean Dim returnValue As String returnValue = instance.FormatQuery(baseQuery, escapeForQueryUsage, normalizeValueForCondition) |
Syntax
Visual Basic |
---|
Public Function FormatQuery ( _ baseQuery As String, _ escapeForQueryUsage As Boolean, _ normalizeValueForCondition As Boolean _ ) As String |
C# |
---|
public string FormatQuery ( string baseQuery, bool escapeForQueryUsage, bool normalizeValueForCondition ) |
C++ |
---|
public: virtual String^ FormatQuery ( String^ baseQuery, bool escapeForQueryUsage, bool normalizeValueForCondition ) sealed |
J# |
---|
public final String FormatQuery ( String baseQuery, boolean escapeForQueryUsage, boolean normalizeValueForCondition ) |
JScript |
---|
public final function FormatQuery ( baseQuery : String, escapeForQueryUsage : boolean, normalizeValueForCondition : boolean ) : String |
Parameters
- baseQuery
-
[in] The base query.
- escapeForQueryUsage
-
[in] true to include escape characters to indicate query use.
- normalizeValueForCondition
-
[in] true to use normalized attribute values for conditions.
Return Value
Formatted query.Remarks
The query can include replacement objects that are indicated by property, or named values that are indicated by key. The property or key is replaced by the value of the property, of the same name as the object in scope. There are also a number of predefined values that contain static properties.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.