QueryExpression.QueryHints Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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