Formats a query for the result object. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim instance As IResultObject
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
Function FormatQuery ( _
		baseQuery As String, _
		escapeForQueryUsage As Boolean, _
		normalizeValueForCondition As Boolean _
) As String
C#
string FormatQuery (
		string baseQuery,
		bool escapeForQueryUsage,
		bool normalizeValueForCondition
)
C++
String^ FormatQuery (
		String^ baseQuery, 
		bool escapeForQueryUsage, 
		bool normalizeValueForCondition
)
J#
String FormatQuery (
		String baseQuery, 
		boolean escapeForQueryUsage, 
		boolean normalizeValueForCondition
)
JScript
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 arte indicated by property, or named values 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.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also