This documentation is archived and is not being maintained.
This documentation is archived and is not being maintained.
ManagementReferenceAttribute Class
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Marks a class member, property or method parameter as a reference to another management object or class. The Type must be a string. The referenced type is passed in the attribute constructor. The default type is object.
Namespace: System.Management
Assembly:
System.Core (in System.Core.dll)
// in the following example, the Configuration field is a string that // is a reference to a class of type ProcessClass
[ManagementReference(Type = "ProcessClass")]
[ManagementKey]
public string Configuration;