次の方法で共有


QueryExpression.QueryHints Property

Definition

Gets or sets a hint for generated SQL which affects the query's execution.

public:
 property System::String ^ QueryHints { System::String ^ get(); void set(System::String ^ value); };
[System.Runtime.Serialization.DataMember(EmitDefaultValue=false, Order=92)]
public string QueryHints { get; set; }
[<System.Runtime.Serialization.DataMember(EmitDefaultValue=false, Order=92)>]
member this.QueryHints : string with get, set
Public Property QueryHints As String

Property Value

A hint for generated SQL which affects the query's execution.

Attributes

Remarks

Only apply these options when recommended by Microsoft technical support. Incorrect use of these options can damage the performance of a query.

See Use SQL hints in a query for the list of supported values.

More information: Hints (Transact-SQL) - Query

Applies to