This documentation is archived and is not being maintained.

RelationshipQuery.RelationshipClass Property

Gets or sets the class of the relationship objects wanted in the query.

[Visual Basic]
Public Property RelationshipClass As String
public string RelationshipClass {get; set;}
public: __property String* get_RelationshipClass();
public: __property void set_RelationshipClass(String*);
public function get RelationshipClass() : String;
public function set RelationshipClass(String);

Property Value

A string containing the relationship class name.


Setting this property value overrides any previous value stored in the object. The query string is rebuilt to reflect the new class.


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