共用方式為


Report.IsReadyForRendering 屬性

取得 Boolean 值,這個值表示報表定義和所有參數是否已指定,而且所有資料來源是否已準備好可供使用。

命名空間:  Microsoft.Reporting.WebForms
組件:  Microsoft.ReportViewer.WebForms (在 Microsoft.ReportViewer.WebForms.dll 中)

語法

'宣告
<BrowsableAttribute(False)> _
Public ReadOnly Property IsReadyForRendering As Boolean
[BrowsableAttribute(false)]
public bool IsReadyForRendering { get; }
[BrowsableAttribute(false)]
public:
property bool IsReadyForRendering {
    bool get ();
}
[<BrowsableAttribute(false)>]
member IsReadyForRendering : bool with get
function get IsReadyForRendering () : boolean

屬性值

類型:Boolean
如果報表定義和所有必要參數已指定,而且所有資料來源已準備好可供使用,則為 true,否則為 false。預設為 false。

備註

在遠端處理模式中,所有提示資料來源認證都必須指定,才能讓這個屬性成為 true。在本機處理模式中,所有必要資料集都必須載入,才能讓這個屬性成為 true。

這個屬性不表示所有指定的資訊都是有效的,只表示 Report 物件有足夠資訊可嘗試轉譯報表。例如,如果提示資料來源認證已指定但無效,它會傳回 true。

請參閱

參考

Report 類別

Microsoft.Reporting.WebForms 命名空間