IResultObject.FormatQuery Method
Formats a query for the result object.
Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
'Usage
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
'Declaration
Function FormatQuery ( _
baseQuery As String, _
escapeForQueryUsage As Boolean, _
normalizeValueForCondition As Boolean _
) As String
string FormatQuery (
string baseQuery,
bool escapeForQueryUsage,
bool normalizeValueForCondition
)
String^ FormatQuery (
String^ baseQuery,
bool escapeForQueryUsage,
bool normalizeValueForCondition
)
String FormatQuery (
String baseQuery,
boolean escapeForQueryUsage,
boolean normalizeValueForCondition
)
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
Reference
IResultObject Interface
IResultObject Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace