Warning 類別

定義

代表一份錯誤或警告清單,當報告發布或處理時會回傳。

public ref class Warning
[System.CodeDom.Compiler.GeneratedCode("wsdl", "2.0.50727.3038")]
[System.ComponentModel.DesignerCategory("code")]
[System.Diagnostics.DebuggerStepThrough]
[System.Xml.Serialization.XmlType(Namespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer")]
[System.Serializable]
public class Warning
[<System.CodeDom.Compiler.GeneratedCode("wsdl", "2.0.50727.3038")>]
[<System.ComponentModel.DesignerCategory("code")>]
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Xml.Serialization.XmlType(Namespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer")>]
[<System.Serializable>]
type Warning = class
Public Class Warning
繼承
Warning
屬性

備註

Warning物件會由 CreateCatalogItemCreateItemHistorySnapshotSetItemDefinition 和 方法作為輸出回傳。

建構函式

名稱 Description
Warning()

初始化 Warning 類別的新執行個體。

屬性

名稱 Description
Code

接收或設定回報伺服器指派給警告的錯誤代碼。

Message

會收到或設定一個訊息,說明錯誤或警告。

ObjectName

取得或設定報告定義中對警告有貢獻的物件名稱。

ObjectType

取得或設定錯誤或警告的物件類型。

Severity

會取得或設定錯誤或警告的嚴重程度。

適用於