RelationshipQuery.RelationshipClass 属性

定义

获取或设置查询中所需的关系对象的类。Gets or sets the class of the relationship objects wanted in the query.

public:
 property System::String ^ RelationshipClass { System::String ^ get(); void set(System::String ^ value); };
public string RelationshipClass { get; set; }
member this.RelationshipClass : string with get, set
Public Property RelationshipClass As String

属性值

String

返回一个 String 值,该值包含关系类名。Returns a String value 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.

属性值Property Value

一个包含关系类名称的字符串。A string containing the relationship class name.

.NET Framework 安全性.NET Framework Security

对直接调用方的完全信任。Full trust for the immediate caller. 此成员不能由部分信任的代码使用。This member cannot be used by partially trusted code. 有关详细信息,请参阅 从部分受信任的代码使用库For more information, see Using Libraries from Partially Trusted Code.

适用于