ManagementHostingModel 枚举

定义

定义用于指定提供程序承载模型的值。Defines values that specify the hosting model for the provider.

注意:WMI .NET 库现在视为处于最终状态,且没有可用于会影响这些库的非安全性相关问题的进一步开发、增强或更新。Note: the WMI .NET libraries are now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. MI API 应用于所有新的开发。The MI APIs should be used for all new development.

public enum class ManagementHostingModel
public enum ManagementHostingModel
type ManagementHostingModel = 
Public Enum ManagementHostingModel
继承
ManagementHostingModel

字段

Decoupled 0

将提供程序作为分离的提供程序进行激活。Activates the provider as a decoupled provider.

LocalService 2

在 LocalService 帐户下运行的提供程序主机进程中激活提供程序。Activates the provider in the provider host process that is running under the LocalService account.

LocalSystem 3

在 LocalSystem 帐户下运行的提供程序主机进程中激活提供程序。Activates the provider in the provider host process that is running under the LocalSystem account.

NetworkService 1

在 NetworkService 帐户下运行的提供程序主机进程中激活提供程序。Activates the provider in the provider host process that is running under the NetworkService account.

注解

若要了解有关 WMI 提供程序托管模型的详细信息, 请参阅 MSDN online 上的提供程序托管和安全主题。To learn more about WMI provider hosting models, see the Provider Hosting and Security topic on MSDN online.

适用于