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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.