__Provider class
Applies to: desktop apps only
The __Provider system class is an abstract base class that serves as the parent class for the __Win32Provider system class.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.
Syntax
[abstract]class __Provider : __SystemClass
{
string Name;
};
Members
The __Provider class inherits from __SystemClass. __Provider also has these types of members:
Properties
The __Provider class has these properties.
- Name
-
- Data type: string
- Access type: Read/write
- Qualifiers: Key
Language-neutral string that uniquely identifies the provider. The following format is suggested to prevent naming conflicts:
vendor|provider|version
For example, this provider name represents version 1.0 of the Microsoft TestProvider:
"Microsoft|TestProvider|V1.0"
Remarks
The __Provider class is derived from __SystemClass, which has no properties.
Providers create __Win32Provider instances to specify information about their physical implementation.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Namespace |
all WMI namespaces |
See also
Send comments about this topic to Microsoft
Build date: 3/9/2012