This documentation is archived and is not being maintained.

RelationshipQuery.ThisRole Property

Gets or sets the role of the source object in the relationship.

[Visual Basic]
Public Property ThisRole As String
public string ThisRole {get; set;}
public: __property String* get_ThisRole();
public: __property void set_ThisRole(String*);
public function get ThisRole() : String;
public function set ThisRole(String);

Property Value

A string containing the role of this object.


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


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