QueryProcessorBase.ExecuteQuery Method (String, Generic Dictionary)
Runs the specified query for a dictionary of context objects.
Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
'Usage
Dim instance As QueryProcessorBase
Dim query As String
Dim contextInformation As Dictionary(Of String, Object)
Dim returnValue As IResultObject
returnValue = instance.ExecuteQuery(query, contextInformation)
Syntax
'Declaration
Public MustOverride Function ExecuteQuery ( _
query As String, _
contextInformation As Dictionary(Of String, Object) _
) As IResultObject
public abstract IResultObject ExecuteQuery (
string query,
Dictionary<string,Object> contextInformation
)
public:
virtual IResultObject^ ExecuteQuery (
String^ query,
Dictionary<String^, Object^>^ contextInformation
) abstract
public abstract IResultObject ExecuteQuery (
String query,
Dictionary<String,Object> contextInformation
)
public abstract function ExecuteQuery (
query : String,
contextInformation : Dictionary<String,Object>
) : IResultObject
Parameters
- query
[in] Name of a query file.
- contextInformation
[in] System.Collections.Generic.Dictionary object representing System.Object instances for context information.
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