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
[C#]
public bool ClassDefinitionsOnly {get; set;}
[C++]
public: __property bool get_ClassDefinitionsOnly();
public: __property void set_ClassDefinitionsOnly(bool);
[JScript]
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.

Remarks

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.

Requirements

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

Show: