RelationshipQuery.IsSchemaQuery 属性

定义

获取或设置一个值,该值指示此查询是架构查询还是实例查询。Gets or sets a value indicating whether this query is a schema query or an instance query.

public:
 property bool IsSchemaQuery { bool get(); void set(bool value); };
public bool IsSchemaQuery { get; set; }
member this.IsSchemaQuery : bool with get, set
Public Property IsSchemaQuery As Boolean

属性值

Boolean

返回一个 Boolean 值,该值指示此查询是否为架构查询。Returns a Boolean value indicating whether this query is a schema query.

注解

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

属性值Property Value

true 如果应对该架构计算此查询,则为; 否则为。 false 如果对实例求值,则为。true if this query should be evaluated over the schema; false if the query should be evaluated over instances.

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

适用于