This documentation is archived and is not being maintained.

RelationshipQuery Constructor (Boolean, String, String, String, String)

.NET Framework 1.1

Initializes a new instance of the RelationshipQuery class for a schema query using the given set of parameters. This constructor is used for schema queries only, so the first parameter must be true.

[Visual Basic]
Public Sub New( _
   ByVal isSchemaQuery As Boolean, _
   ByVal sourceObject As String, _
   ByVal relationshipClass As String, _
   ByVal relationshipQualifier As String, _
   ByVal thisRole As String _
public RelationshipQuery(
   bool isSchemaQuery,
 string sourceObject,
 string relationshipClass,
 string relationshipQualifier,
 string thisRole
public: RelationshipQuery(
   bool isSchemaQuery,
 String* sourceObject,
 String* relationshipClass,
 String* relationshipQualifier,
 String* thisRole
public function RelationshipQuery(
   isSchemaQuery : Boolean,
 sourceObject : String,
 relationshipClass : String,
 relationshipQualifier : String,
 thisRole : String


true to indicate that this is a schema query; otherwise, false.
The path of the source class for this query.
The type of relationship for which to query.
A qualifier required to be present on the relationship class.
The role that the source class is required to play in the relationship.


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 | RelationshipQuery Constructor Overload List