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 方法返回。

构造函数

名称 说明
Warning()

初始化 Warning 类的新实例。

属性

名称 说明
Code

获取或设置报告服务器分配给警告的错误代码。

Message

会收到或设置一条消息,说明错误或警告。

ObjectName

获取或设置报告定义中对警告有贡献的对象名称。

ObjectType

获取或设置错误或警告的对象类型。

Severity

获取或设置错误或警告的严重程度。

适用于