共用方式為


ReportingService2005 Class

Definition

Contains the methods and properties that can be used to call the Microsoft SQL Server 2005 Reporting Services (SSRS) Web service.

public ref class ReportingService2005 : System::Web::Services::Protocols::SoapHttpClientProtocol
public class ReportingService2005 : System.Web.Services.Protocols.SoapHttpClientProtocol
type ReportingService2005 = class
    inherit SoapHttpClientProtocol
Public Class ReportingService2005
Inherits SoapHttpClientProtocol
Inheritance
ReportingService2005

Remarks

To use the Report Server Web service library, you must generate a proxy class in either Microsoft Visual C# or Microsoft Visual Basic .NET through which you can call the various Web service methods. For more information about generating a Reporting Services proxy class using the Microsoft .NET Framework, see Accessing the SOAP API.

Constructors

ReportingService2005()

Initializes a new instance of the ReportingService2005 class.

Properties

BatchHeaderValue

Gets or sets the value (BatchHeaderValue object) that represents a unique, system-generated batch ID for multi-method operations in the Reporting Services SOAP API.

ItemNamespaceHeaderValue

The value that represents the identifier used to retrieve item properties.

ServerInfoHeaderValue

The server-related information that represents the version of the report server.

Methods

CancelBatch()

Cancels the batch that was initiated by a call to the CreateBatch() method.

CancelJob(String)

Cancels the execution of a job.

CreateBatch()

Creates a batch that executes multiple methods within a single transaction.

CreateDataDrivenSubscription(String, ExtensionSettings, DataRetrievalPlan, String, String, String, ParameterValueOrFieldReference[])

Creates a data-driven subscription for a specified report.

CreateDataSource(String, String, Boolean, DataSourceDefinition, Property[])

Creates a new data source in the report server database.

CreateFolder(String, String, Property[])

Adds a folder to the report server database.

CreateLinkedReport(String, String, String, Property[])

Adds a new linked report to the report server database.

CreateModel(String, String, Byte[], Property[])

Creates a model in the catalog namespace.

CreateReport(String, String, Boolean, Byte[], Property[])

Adds a new report to the report server database.

CreateReportHistorySnapshot(String, Warning[])

Generates a report history snapshot of a specified report.

CreateResource(String, String, Boolean, Byte[], String, Property[])

Adds a new resource to the report server database.

CreateRole(String, String, Task[])

Adds a new role to the report server database.

CreateSchedule(String, ScheduleDefinition)

Creates a new shared schedule.

CreateSubscription(String, ExtensionSettings, String, String, String, ParameterValue[])

Creates a subscription for a specified report in the report server database.

DeleteItem(String)

Deletes a specified item from the report server database.

DeleteReportHistorySnapshot(String, String)

Deletes an individual report history snapshot for a specified report. If errors occur, the report history snapshot is not deleted.

DeleteRole(String)

Deletes a specified role from the report server database.

DeleteSchedule(String)

Deletes a shared schedule from the report server database.

DeleteSubscription(String)

Deletes a subscription from the report server database.

DisableDataSource(String)

Disables a data source that is enabled.

EnableDataSource(String)

Enables a data source that is disabled.

ExecuteBatch()

Executes all methods that are associated with a batch ID within a single database transaction.

FindItems(String, BooleanOperatorEnum, SearchCondition[])

Returns items from a report server database that match the search criteria.

FireEvent(String, String)

Triggers an event based on the supplied parameters.

FlushCache(String)

Invalidates the cache for an individual report.

GenerateModel(String, String, String, Property[])

Generates a default model on top of a shared data source.

GetCacheOptions(String, ExpirationDefinition)

Returns the cache configuration for a report and the settings that describe when the cached copy of the report expires.

GetDataDrivenSubscriptionProperties(String, ExtensionSettings, DataRetrievalPlan, String, ActiveState, String, String, String, ParameterValueOrFieldReference[])

Returns the properties of a data-driven subscription.

GetDataSourceContents(String)

Returns the contents of a data source.

GetExecutionOptions(String, ScheduleDefinitionOrReference)

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

GetExtensionSettings(String)

Returns a list of settings for a given extension.

GetItemDataSourcePrompts(String)

Gets the data source prompts for a specified item.

GetItemDataSources(String)

Returns the data sources for an item in the catalog.

GetItemType(String)

Retrieves the type of an item in the report server database, if the item exists.

GetModelDefinition(String)

Retrieves the definition for a model.

GetModelItemPermissions(String, String)

Retrieves the user permissions associated with an item in the model hierarchy.

GetModelItemPolicies(String, String, Boolean)

Retrieves the policies associate with an item in the model hierarchy.

GetPermissions(String)

Returns the user permissions that are associated with a particular item in the report server database.

GetPolicies(String, Boolean)

Returns the policies that are associated with a particular item in the report server database.

GetProperties(String, Property[])

Returns the value of one or more properties of an item in the report server database.

GetRenderResource(String, String, String)

Returns the resource for a specified rendering extension format.

GetReportDefinition(String)

Retrieves the report definition for a report.

GetReportHistoryLimit(String, Boolean, Int32)

Returns the report history snapshot limit for a specified report.

GetReportHistoryOptions(String, Boolean, ScheduleDefinitionOrReference)

Returns the report history snapshot option and properties that are generated for a report.

GetReportLink(String)

Returns the name of the report whose report definition is used for the specified linked report.

GetReportParameters(String, String, Boolean, ParameterValue[], DataSourceCredentials[])

Returns report parameter properties for a specified report. The GetReportParameters(String, String, Boolean, ParameterValue[], DataSourceCredentials[]) method can also be used to validate parameter values against parameters for a specified report.

GetResourceContents(String, String)

Retrieves the contents of a resource.

GetRoleProperties(String, String)

Returns role information and a collection of associated tasks.

GetScheduleProperties(String)

Returns the properties of a shared schedule.

GetSubscriptionProperties(String, ExtensionSettings, String, ActiveState, String, String, String, ParameterValue[])

Returns the properties of a specified subscription.

GetSystemPermissions()

Retrieves the system permissions of the current user.

GetSystemPolicies()

Returns the system policies, including groups and associated roles.

GetSystemProperties(Property[])

Returns the value of one or more system properties.

GetUserModel(String, String)

Returns the semantic portion of a model for the current user.

InheritModelItemParentSecurity(String, String)

Deletes the policies associated with an item in the model hierarchy and causes the item to inherit the policies from its parent.

InheritParentSecurity(String)

Deletes the policies associated with an item. As a result, the item inherits the policies from its parent.

ListChildren(String, Boolean)

Gets a list of children of a specified folder.

ListDependentItems(String)

Returns a list of catalog items that reference a specified catalog item.

ListEvents()

Returns a list of events supported by the report server.

ListExtensions(ExtensionTypeEnum)

Returns a list of extensions that are configured for a given extension type.

ListJobs()

Returns a list of jobs that are running on the report server.

ListModelDrillthroughReports(String, String)

Lists drill-through reports associated with an entity in a model.

ListModelItemChildren(String, String, Boolean)

Returns an array of model item child elements.

ListModelPerspectives(String)

Lists models and perspectives available to the user.

ListReportHistory(String)

Returns a list of report history snapshots and their properties for a specified report.

ListRoles(SecurityScopeEnum)

Returns the names and descriptions of roles that the report server manages.

ListScheduledReports(String)

Returns a list of reports that are associated with a shared schedule.

ListSchedules()

Returns a list of all shared schedules.

ListSecureMethods()

Returns a list of SOAP methods that require a secure connection when invoked.

ListSubscriptions(String, String)

Returns a list of subscriptions that a user has created for a given report. The list includes both standard and data-driven subscriptions.

ListSubscriptionsUsingDataSource(String)

Returns a list of subscriptions that are associated with a given data source.

ListTasks(SecurityScopeEnum)

Returns the names and descriptions of tasks that are managed by the report server.

Logoff()

Logs out the current user making Web service requests.

LogonUser(String, String, String)

Logs on a user and authenticates a user request to the Report Server Web service.

MoveItem(String, String)

Moves or renames an item.

PauseSchedule(String)

Pauses the execution of a given schedule.

PrepareQuery(DataSource, DataSetDefinition, Boolean, String[])

Returns a dataset containing the fields retrieved by the delivery query for a data-driven subscription.

RegenerateModel(String)

Updates an existing model based on changes to the data source schema.

RemoveAllModelItemPolicies(String)

Deletes all policies associate with model items in the specified model.

ResumeSchedule(String)

Resumes a shared schedule that has been paused.

SetCacheOptions(String, Boolean, ExpirationDefinition)

Configures a report for caching and provides settings that specify when the cached copy of the report expires.

SetDataDrivenSubscriptionProperties(String, ExtensionSettings, DataRetrievalPlan, String, String, String, ParameterValueOrFieldReference[])

Sets the properties of a data-driven subscription.

SetDataSourceContents(String, DataSourceDefinition)

Sets the contents of a data source.

SetExecutionOptions(String, ExecutionSettingEnum, ScheduleDefinitionOrReference)

Sets execution options and associated execution properties for a specified report.

SetItemDataSources(String, DataSource[])

Sets the data sources for an item in the catalog.

SetModelDefinition(String, Byte[])

Sets the definition for a specified model.

SetModelDrillthroughReports(String, String, ModelDrillthroughReport[])

Associates a set of drill-through reports with a model.

SetModelItemPolicies(String, String, Policy[])

Sets security policies on an item in the model hierarchy.

SetPolicies(String, Policy[])

Sets the policies that are associated with a specified item.

SetProperties(String, Property[])

Sets one or more properties of a specified item.

SetReportDefinition(String, Byte[])

Sets the report definition for a specified report.

SetReportHistoryLimit(String, Boolean, Int32)

Specifies the number of snapshots of a report that the report server retains in the report server database.

SetReportHistoryOptions(String, Boolean, Boolean, ScheduleDefinitionOrReference)

Sets report history options that specify when a report history snapshot is created for a specified report.

SetReportLink(String, String)

Specifies the report that is used for the report definition of an existing linked report.

SetReportParameters(String, ReportParameter[])

Sets report parameter properties for a specified report.

SetResourceContents(String, Byte[], String)

Sets the contents of a resource.

SetRoleProperties(String, String, Task[])

Sets role properties and associates a collection of tasks with a specified role.

SetScheduleProperties(String, String, ScheduleDefinition)

Sets the properties of a shared schedule.

SetSubscriptionProperties(String, ExtensionSettings, String, String, String, ParameterValue[])

Sets the properties of a subscription.

SetSystemPolicies(Policy[])

Sets the system policy that defines groups and associated roles.

SetSystemProperties(Property[])

Sets one or more system properties.

UpdateReportExecutionSnapshot(String)

Generates a report execution snapshot for a specified report.

ValidateExtensionSettings(String, ParameterValueOrFieldReference[])

Validates Reporting Services extension settings.

Applies to