Export (0) Print
Expand All

RelatedObjectQuery.ClassDefinitionsOnly Property

Gets or sets a value indicating that for all instances that adhere to the query, only their class definitions be returned. This parameter is only valid for instance queries.

[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. 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

RelatedObjectQuery Class | RelatedObjectQuery Members | System.Management Namespace

Show:
© 2014 Microsoft