This documentation is archived and is not being maintained.

RelationshipQuery.ClassDefinitionsOnly Property

Gets or sets a value indicating that only the class definitions of the relevant relationship objects be returned.

[Visual Basic]
Public Property ClassDefinitionsOnly As Boolean
public bool ClassDefinitionsOnly {get; set;}
public: __property bool get_ClassDefinitionsOnly();
public: __property void set_ClassDefinitionsOnly(bool);
public function get ClassDefinitionsOnly() : Boolean;
public function set ClassDefinitionsOnly(Boolean);

Property Value

true if the query requests only class definitions of the result set; otherwise, false.


Setting this property value overrides any previous value stored in the object. As a side-effect, the query string is rebuilt to reflect the new flag.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

RelationshipQuery Class | RelationshipQuery Members | System.Management Namespace