Edit

Bagikan melalui


SelectQuery.Condition Property

Definition

Gets or sets the condition to be applied in the SELECT query.

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

Property Value

Returns a String value containing the condition to be applied to the SELECT query.

Remarks

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

A value for the Condition property would replace the <condition> item in a SELECT query of the form "SELECT * FROM <className> WHERE <condition>".

Property Value

A string containing the condition to be applied in the SELECT query.

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

Applies to