Freigeben über


QueryProcessorBase.ExecuteQuery Method (String)

Runs the specified query.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As QueryProcessorBase
Dim query As String
Dim returnValue As IResultObject

returnValue = instance.ExecuteQuery(query)

Syntax

'Declaration
Public Function ExecuteQuery ( _
    query As String _
) As IResultObject
public IResultObject ExecuteQuery (
    string query
)
public:
IResultObject^ ExecuteQuery (
    String^ query
)
public IResultObject ExecuteQuery (
    String query
)
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

Reference

QueryProcessorBase Class
QueryProcessorBase Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
IResultObject Interface