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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.