FireEvent Method
SQL Server 2000
ReportingService.FireEvent Method
Triggers an event based on the supplied parameters.
Public Sub FireEvent( _ ByVal EventType As String, _ ByVal EventData As String _ ) Member of [Namespace].ReportingService
public void FireEvent( string EventType, string EventData ); Member of [Namespace].ReportingService
Parameters
- EventType
- The name of the event.
- EventData
- The data that is associated with the event.
Permissions
| Operation | Description |
|---|---|
| Generate Events | Required to trigger events that are configured in the report server. |
Remarks
The EventType parameter is matched against the known set of events that are defined in the report server configuration file. If the event is not in the report server configuration file, a SOAP exception is thrown with an error code of rsUnknownEventType. For more information about events and the configuration file, see Reporting Services Configuration Files.
The FireEvent method does not verify or validate the data supplied in the EventData parameter. Any string value is valid, including an empty string.