Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

RelatedObjectQuery Constructor

Initializes a new instance of the RelatedObjectQuery class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method RelatedObjectQuery() Initializes a new instance of the RelatedObjectQuery class. This is the default constructor.
Public method RelatedObjectQuery(String) Initializes a new instance of the RelatedObjectQuery class. If the specified string can be successfully parsed as a WQL query, it is considered to be the query string; otherwise, it is assumed to be the path of the source object for the query. In this case, the query is assumed to be an instance query.
Public method RelatedObjectQuery(String, String) Initializes a new instance of the RelatedObjectQuery class for the given source object and related class. The query is assumed to be an instance query (as opposed to a schema query).
Public method RelatedObjectQuery(Boolean, String, String, String, String, String, String, String) Initializes a new instance of the RelatedObjectQuery class for a schema query using the given set of parameters. This constructor is used for schema queries only: the first parameter must be set to true .
Public method RelatedObjectQuery(String, String, String, String, String, String, String, Boolean) Initializes a new instance of the RelatedObjectQuery class for the given set of parameters. The query is assumed to be an instance query (as opposed to a schema query).
Top
Show:
© 2014 Microsoft. All rights reserved.