Expand Minimize
This topic has not yet been rated - Rate this topic

GetExecutionOptions Method

SQL Server 2000

ReportingService.GetExecutionOptions Method

Returns the execution option and associated settings for an individual report.

Public Function GetExecutionOptions( _
   ByVal Report As String, _
   ByRef Item As [Namespace].ScheduleDefinitionOrReference _
) As [Namespace].ExecutionSettingEnum
   Member of [Namespace].ReportingService
public [Namespace].ExecutionSettingEnum GetExecutionOptions(
   string Report,
   out [Namespace].ScheduleDefinitionOrReference Item
);
   Member of [Namespace].ReportingService
Parameters
Report
The full path name of the report.
Item
[out] A ScheduleDefinitionOrReference object that represents a schedule definition or reference to a shared schedule.
Return Value

One of the ExecutionSettingEnum values.

Permissions

Operation Description
Read Policy Required to view the execution settings of the report.
Read Schedules Required in some cases to view the schedule properties if the schedule is shared.

Remarks

The GetExecutionOptions method returns either a schedule definition (ScheduleDefintion object) or a reference to a shared schedule (ScheduleReference object).

If the execution options for a report do not contain schedule information, the Item parameter is null (Nothing in Visual Basic).

See Also

ReportingService Class

Reporting Services Web Service Library

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.