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
[C#]
public string RelationshipClass {get; set;}
[C++]
public: __property String* get_RelationshipClass();
public: __property void set_RelationshipClass(String*);
[JScript]
public function get RelationshipClass() : String;
public function set RelationshipClass(String);

Property Value

A string containing the relationship class name.

Remarks

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

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

Show: