RelationshipQuery.SourceObject 属性


获取或设置此查询的源对象。Gets or sets the source object for this query.

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



返回一个 String 值,该值包含要用于查询的对象的路径。Returns a String value containing the path of the object to be used for the query.


设置此属性值将覆盖对象中存储的任何先前值。Setting this property value overrides any previous value stored in the object. 重新生成查询字符串以反映新的源对象。The query string is rebuilt to reflect the new source object.

属性值Property Value

一个字符串,该字符串表示要用于查询的对象的路径。A string representing the path of the object to be used for the query.

.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.