Επεξεργασία

Κοινή χρήση μέσω


WmiConfigurationAttribute(String) Constructor

Definition

Initializes a new instance of the WmiConfigurationAttribute class that specifies the WMI namespace in which the WMI provider will expose classes.

public:
 WmiConfigurationAttribute(System::String ^ scope);
public WmiConfigurationAttribute (string scope);
new System.Management.Instrumentation.WmiConfigurationAttribute : string -> System.Management.Instrumentation.WmiConfigurationAttribute
Public Sub New (scope As String)

Parameters

scope
String

The WMI namespace in which the provider will expose classes. For example, "root\MyProviderNamespace".

Remarks

A WMI provider must expose its classes in a namespace. That is why the constructor requires scope as a parameter.

Applies to