ReportingService2005 Class

Definition

包含可用于调用 Microsoft SQL Server 2005 Reporting Services (SSRS) Web 服务的方法和属性。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

若要使用报表服务器 Web 服务库,必须在 Microsoft Visual c # 或 Microsoft Visual Basic .NET 中生成一个代理类,通过这些类可以调用各种 Web 服务方法。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. 有关使用 Microsoft .NET 框架生成 Reporting Services 代理类的详细信息,请参阅 访问 SOAP APIFor more information about generating a Reporting Services proxy class using the Microsoft .NET Framework, see Accessing the SOAP API.

Constructors

ReportingService2005()

初始化 ReportingService2005 类的新实例。Initializes a new instance of the ReportingService2005 class.

Properties

BatchHeaderValue

获取或设置 (BatchHeaderValue 对象) 的值,该值表示 REPORTING SERVICES SOAP API 中多方法操作的系统生成的唯一批处理 ID。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()

取消通过调用 CreateBatch() 方法启动的批处理。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[])

为 Report Server 数据库中的指定报表创建订阅。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()

在单个数据库事务内执行与批处理 ID 关联的所有方法。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. GetReportParameters(String, String, Boolean, ParameterValue[], DataSourceCredentials[]) 方法还可用于根据指定报表的参数验证参数值。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()

返回在调用时要求安全连接的 SOAP 方法的列表。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()

注销发出 Web 服务请求的当前用户。Logs out the current user making Web service requests.

LogonUser(String, String, String)

使用户登录,然后验证对报表服务器 Web 服务的用户请求。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[])

验证 Reporting Services 扩展插件设置。Validates Reporting Services extension settings.

Applies to