Warning Warning Warning Class

Definition

Represents a list of errors or warnings that are returned when a report is published or processed.

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")]
public class Warning
Public Class Warning
Inheritance
WarningWarningWarning
Attributes

Remarks

A Warning object is returned as output by the CreateCatalogItem, CreateItemHistorySnapshot, and SetItemDefinition methods.

Constructors

Warning() Warning() Warning()

Initializes a new instance of the Warning class.

Properties

Code Code Code

Gets or sets the error code assigned to the warning by the report server.

Message Message Message

Gets or sets a message that states the error or warning.

ObjectName ObjectName ObjectName

Gets or sets the name of the object in the report definition that contributed to the warning.

ObjectType ObjectType ObjectType

Gets or sets the object type of the error or warning.

Severity Severity Severity

Gets or sets the severity of the error or warning.

Applies to