DbLimitExpression.Limit 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定表達式,指定從輸入集合傳回之項目數目的限制。
public:
property System::Data::Common::CommandTrees::DbExpression ^ Limit { System::Data::Common::CommandTrees::DbExpression ^ get(); };
public System.Data.Common.CommandTrees.DbExpression Limit { get; }
member this.Limit : System.Data.Common.CommandTrees.DbExpression
Public ReadOnly Property Limit As DbExpression
屬性值
一個表達式,指定從輸入集合回傳的元素數量限制。
例外狀況
表達式為 null。
該表達式不與 的指令樹 DbLimitExpression相關聯,或不是 DbConstantExpression 或 DbParameterReferenceExpression,或其結果型別不等於或無法升調為 64 位元整數型別。