This documentation is archived and is not being maintained.

RelationshipQuery.IsSchemaQuery Property

Gets or sets a value indicating whether this query is a schema query or an instance query.

[Visual Basic]
Public Property IsSchemaQuery As Boolean
[C#]
public bool IsSchemaQuery {get; set;}
[C++]
public: __property bool get_IsSchemaQuery();
public: __property void set_IsSchemaQuery(bool);
[JScript]
public function get IsSchemaQuery() : Boolean;
public function set IsSchemaQuery(Boolean);

Property Value

true if this query should be evaluated over the schema; false if the query should be evaluated over instances.

Remarks

Setting this property value overrides any previous value stored in the object. The query string is rebuilt to reflect the new query type.

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: