WmiConfigurationAttribute(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.