Runs the specified query. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim instance As QueryProcessorBase
Dim query As String
Dim returnValue As IResultObject

returnValue = instance.ExecuteQuery(query)

Syntax

Visual Basic
Public Function ExecuteQuery ( _
		query As String _
) As IResultObject
C#
public IResultObject ExecuteQuery (
		string query
)
C++
public:
IResultObject^ ExecuteQuery (
		String^ query
)
J#
public IResultObject ExecuteQuery (
		String query
)
JScript
public function ExecuteQuery (
		query : String
) : IResultObject

Parameters

query

[in] Name of a query file.

Return Value

IResultObject interface for getting and setting result object 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