ManagementConfigurationAttribute Class
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Namespace: System.Management
Assembly: System.Core (in System.Core.dll)
Defines a property or field to be configurable in an automated class. A property that is marked with the ManagementConfiguration attribute is exposed to WMI as a readable and writable property.
Assembly: System.Core (in System.Core.dll)
The following example shows how to use the ManagementConfiguration attribute to mark a property. This property is exposed to WMI.
[C#]
// Use the ManagementConfiguration attribute to specify that a property
// is a read/write property in the provider. Consumers will be
// able to get and set this property value through WMI.
[ManagementConfiguration]
public double ReadableWritableProperty
{
get { return this.propertyValue; }
set { this.propertyValue = value; }
}
System.Object
System.Attribute
System.Management.ManagementMemberAttribute
System.Management.ManagementConfigurationAttribute
System.Attribute
System.Management.ManagementMemberAttribute
System.Management.ManagementConfigurationAttribute
Show: