Processes replacement strings for the specified query string. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim parent As ScopeNode
Dim rootConnectionNode As SmsSiteConnectionNode
Dim queryString As String
Dim resultObject As IResultObject
Dim escapeForQueryUsage As Boolean
Dim normalizeValueForCondition As Boolean
Dim returnValue As String

returnValue = UtilityClass.ProcessReplacementStrings(parent, rootConnectionNode, queryString, resultObject, escapeForQueryUsage, normalizeValueForCondition)

Syntax

Visual Basic
Public Shared Function ProcessReplacementStrings ( _
		parent As ScopeNode, _
		rootConnectionNode As SmsSiteConnectionNode, _
		queryString As String, _
		resultObject As IResultObject, _
		escapeForQueryUsage As Boolean, _
		normalizeValueForCondition As Boolean _
) As String
C#
public static string ProcessReplacementStrings (
		ScopeNode parent,
		SmsSiteConnectionNode rootConnectionNode,
		string queryString,
		IResultObject resultObject,
		bool escapeForQueryUsage,
		bool normalizeValueForCondition
)
C++
public:
static String^ ProcessReplacementStrings (
		ScopeNode^ parent, 
		SmsSiteConnectionNode^ rootConnectionNode, 
		String^ queryString, 
		IResultObject^ resultObject, 
		bool escapeForQueryUsage, 
		bool normalizeValueForCondition
)
J#
public static String ProcessReplacementStrings (
		ScopeNode parent, 
		SmsSiteConnectionNode rootConnectionNode, 
		String queryString, 
		IResultObject resultObject, 
		boolean escapeForQueryUsage, 
		boolean normalizeValueForCondition
)
JScript
public static function ProcessReplacementStrings (
		parent : ScopeNode, 
		rootConnectionNode : SmsSiteConnectionNode, 
		queryString : String, 
		resultObject : IResultObject, 
		escapeForQueryUsage : boolean, 
		normalizeValueForCondition : boolean
) : String

Parameters

parent

[in] Microsoft.ManagementConsole.ScopeNode object for the parent node.

rootConnectionNode

[in] SmsSiteConnectionNode object.

queryString

[in] Query string for which to process replacement strings.

resultObject

[in] IResultObject interface for the result object that is associated with the query string.

escapeForQueryUsage

[in] true to process an escape for query use.

normalizeValueForCondition

[in] true to normalize a value for the specified condition.

Return Value

Query string that shows the replacement strings.

Exceptions

Exception type Condition
ArgumentException

The queryString parameter cannot be null or an empty string.

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