Warning Class
Represents a list of errors or warnings that are returned when a report is published or processed.
Namespace: ReportService2010
Assembly: ReportService2010 (in ReportService2010.dll)
The Warning type exposes the following members.
| Name | Description | |
|---|---|---|
|
Code | Gets or sets the error code assigned to the warning by the report server. |
|
Message | Gets or sets a message that states the error or warning. |
|
ObjectName | Gets or sets the name of the object in the report definition that contributed to the warning. |
|
ObjectType | Gets or sets the object type of the error or warning. |
|
Severity | Gets or sets the severity of the error or warning. |
A Warning object is returned as output by the CreateCatalogItem(String, String, String, Boolean, Byte[], Property[], Warning[]), CreateItemHistorySnapshot, and ReportService2010.ReportingService2010.SetItemDefinition(System.String,System.Byte[]) methods.