This documentation is archived and is not being maintained.

RelationshipQuery Members

RelationshipQuery overview

Public Constructors

public constructorRelationshipQuery Constructor Overloaded. Initializes a new instance of the RelationshipQuery class.

Public Properties

public propertyClassDefinitionsOnly Gets or sets a value indicating that only the class definitions of the relevant relationship objects be returned.
public propertyIsSchemaQuery Gets or sets a value indicating whether this query is a schema query or an instance query.
public propertyQueryLanguage (inherited from WqlObjectQuery) Overridden. Gets or sets the language of the query.
public propertyQueryString (inherited from ManagementQuery) Gets or sets the query in text format.
public propertyRelationshipClass Gets or sets the class of the relationship objects wanted in the query.
public propertyRelationshipQualifier Gets or sets a qualifier required on the relationship objects.
public propertySourceObject Gets or sets the source object for this query.
public propertyThisRole Gets or sets the role of the source object in the relationship.

Public Methods

public methodClone Overridden. Creates a copy of the object.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodBuildQuery Builds the query string according to the current property values.
protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodParseQuery Overridden. Parses the query string and sets the property values accordingly.

See Also

RelationshipQuery Class | System.Management Namespace