RelatedObjectQuery Constructor

RelatedObjectQuery Constructor

 

Initializes a new instance of the RelatedObjectQuery class.

Namespace:   System.Management
Assembly:  System.Management (in System.Management.dll)

NameDescription
System_CAPS_pubmethodRelatedObjectQuery()

Initializes a new instance of the RelatedObjectQuery class. This is the default constructor.

System_CAPS_pubmethodRelatedObjectQuery(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 .

System_CAPS_pubmethodRelatedObjectQuery(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.

System_CAPS_pubmethodRelatedObjectQuery(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).

System_CAPS_pubmethodRelatedObjectQuery(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).

Return to top
Show:
© 2016 Microsoft