Partilhar via


QueryProcessorInstaller.Install Method

Installs the information that is needed to identify the query engine to Configuration Manager and the operating system.

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

Usage

'Usage
Dim instance As QueryProcessorInstaller
Dim stateSaver As IDictionary

instance.Install(stateSaver)

Syntax

'Declaration
Public Overrides Sub Install ( _
    stateSaver As IDictionary _
)
public override void Install (
    IDictionary stateSaver
)
public:
virtual void Install (
    IDictionary^ stateSaver
) override
public void Install (
    IDictionary stateSaver
)
public override function Install (
    stateSaver : IDictionary
)

Parameters

  • stateSaver
    [in] System.Collections.IDictionary object that represents a state saver.

Exceptions

Exception type Condition
ArgumentException

The stateSaver parameter cannot be null.

Exception

An exception occurred in the System.Configuration.Install.Installer.BeforeInstall event handler of one of the installers in the collection.

-or-

An exception occurred in the System.Configuration.Install.Installer.AfterInstall event handler of one of the installers in the collection.

Remarks

Your application must override this method in a derived class.

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

QueryProcessorInstaller Class
QueryProcessorInstaller Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace