Warning Class
Represents a list of errors or warnings that are returned when a report is published or processed.
Namespace: ReportExecution2005
Assembly: ReportExecution2005 (in ReportExecution2005.dll)
The Warning type exposes the following members.
| Name | Description | |
|---|---|---|
|
Code | Gets or sets the error code that is assigned to the warning by the report server. Read-only. |
|
Message | Gets or sets a message that describes the error or warning. Read-only. |
|
ObjectName | Gets or sets the name of the object in the report definition that contributed to the warning. Read-only. |
|
ObjectType | Gets or sets the type of object in the report definition that caused the error or warning. Read-only. |
|
Severity | Gets or sets the severity type of the error or warning. Read-only. |
A Warning object is returned as output by the CreateReport, CreateReportHistorySnapshot, Render, and SetReportDefinition methods.