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 _
)
[C#]
public RelationshipQuery(
   bool isSchemaQuery,
 string sourceObject,
 string relationshipClass,
 string relationshipQualifier,
 string thisRole
);
[C++]
public: RelationshipQuery(
   bool isSchemaQuery,
 String* sourceObject,
 String* relationshipClass,
 String* relationshipQualifier,
 String* thisRole
);
[JScript]
public function RelationshipQuery(
   isSchemaQuery : Boolean,
 sourceObject : String,
 relationshipClass : String,
 relationshipQualifier : String,
 thisRole : String
);

Parameters

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

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

Show: