次の方法で共有


RelatedObjectQuery.ThisRole プロパティ

ソース オブジェクトのリレーションシップでの役割を取得または設定します。

Public Property ThisRole As String
[C#]
public string ThisRole {get; set;}
[C++]
public: __property String* get_ThisRole();public: __property void set_ThisRole(String*);
[JScript]
public function get ThisRole() : String;public function set ThisRole(String);

プロパティ値

このオブジェクトの役割を格納している文字列。

解説

このプロパティ値を設定すると、それまでにオブジェクトに格納された値をすべてオーバーライドします。クエリ文字列は新しいロールを反映するようにリビルドされます。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

RelatedObjectQuery クラス | RelatedObjectQuery メンバ | System.Management 名前空間