共用方式為


ReportingService2010 Class

Definition

Contains the methods and properties that can be used to call the Reporting Services Web service when it is running in both native mode and SharePoint integrated mode.

public ref class ReportingService2010 : System::Web::Services::Protocols::SoapHttpClientProtocol
[System.CodeDom.Compiler.GeneratedCode("wsdl", "2.0.50727.3038")]
[System.ComponentModel.DesignerCategory("code")]
[System.Diagnostics.DebuggerStepThrough]
[System.Web.Services.WebServiceBinding(Name="ReportingService2010Soap", Namespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer")]
[System.Xml.Serialization.XmlInclude(typeof(ReportService2010.RecurrencePattern))]
[System.Xml.Serialization.XmlInclude(typeof(ReportService2010.ScheduleDefinitionOrReference))]
[System.Xml.Serialization.XmlInclude(typeof(ReportService2010.DataSourceDefinitionOrReference))]
[System.Xml.Serialization.XmlInclude(typeof(ReportService2010.ExpirationDefinition))]
public class ReportingService2010 : System.Web.Services.Protocols.SoapHttpClientProtocol
[<System.CodeDom.Compiler.GeneratedCode("wsdl", "2.0.50727.3038")>]
[<System.ComponentModel.DesignerCategory("code")>]
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Web.Services.WebServiceBinding(Name="ReportingService2010Soap", Namespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer")>]
[<System.Xml.Serialization.XmlInclude(typeof(ReportService2010.RecurrencePattern))>]
[<System.Xml.Serialization.XmlInclude(typeof(ReportService2010.ScheduleDefinitionOrReference))>]
[<System.Xml.Serialization.XmlInclude(typeof(ReportService2010.DataSourceDefinitionOrReference))>]
[<System.Xml.Serialization.XmlInclude(typeof(ReportService2010.ExpirationDefinition))>]
type ReportingService2010 = class
    inherit SoapHttpClientProtocol
Public Class ReportingService2010
Inherits SoapHttpClientProtocol
Inheritance
ReportingService2010
Attributes

Constructors

ReportingService2010()

Initializes a new instance of the ReportingService2010 class.

Properties

ItemNamespaceHeaderValue

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

ServerInfoHeaderValue

Gets or sets the server-related information that represents the version of the report server.

TrustedUserHeaderValue

This property is not used.

Methods

CancelJob(String)

Cancels the execution of a job.

ChangeSubscriptionOwner(String, String)

Changes the owner of a subscription.

CreateCacheRefreshPlan(String, String, String, String, ParameterValue[])

Creates a cache refresh plan for an item. This method applies to the Report and Dataset item types.

CreateCatalogItem(String, String, String, Boolean, Byte[], Property[], Warning[])

Adds a new item to a report server database or SharePoint library. This method applies to the Report, Model, Dataset, Component, Resource, and DataSource item types.

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

Creates a data-driven subscription for a specified item. This method applies to the Report item type.

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

Creates a new data source in a report server database or SharePoint library.

CreateFolder(String, String, Property[])

Adds a folder to the report server database or SharePoint library.

CreateItemHistorySnapshot(String, Warning[])

Generates an item history snapshot of a specified catalog item. This method applies to the Report item type.

CreateLinkedItem(String, String, String, Property[])

Adds a new linked item to the report server database.

CreateReportEditSession(String, String, Byte[], Warning[])

Creates a new report edit session in the report server database.

CreateRole(String, String, String[])

Adds a new role to the report server database. This method only applies to native mode.

CreateSchedule(String, ScheduleDefinition, String)

Creates a new shared schedule.

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

Creates a subscription for the specified item in the report server database or SharePoint library. This method applies to the Report item type.

DeleteCacheRefreshPlan(String)

Deletes a cache refresh plan.

DeleteItem(String)

Deletes a specified item from a report server database or SharePoint library. This method applies to all item types.

DeleteItemHistorySnapshot(String, String)

Deletes an individual item history snapshot for a specified catalog item. If errors occur, the item history snapshot is not deleted. This method applies to the Report item type.

DeleteRole(String)

Deletes a specified role from the report server database. This method only applies to native mode.

DeleteSchedule(String)

Deletes a shared schedule from the report server database or SharePoint library.

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.

FindItems(String, BooleanOperatorEnum, Property[], SearchCondition[])

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

FireEvent(String, String, String)

Raises an event based on the supplied parameters.

FlushCache(String)

Invalidates the cache for an item. This method applies to the Report and Dataset item types.

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

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

GetCacheOptions(String, ExpirationDefinition)

Returns the cache configuration for an item and the settings that describe when the cached copy of the item expires. This method applies to the Report and Dataset item types.

GetCacheRefreshPlanProperties(String, String, CacheRefreshPlanState, String, String, ParameterValue[])

Returns the properties of the specified cache refresh plan.

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 item. This method applies to the Report item type.

GetExtensionSettings(String)

Returns a list of settings for a given extension.

GetItemDataSourcePrompts(String)

Gets the data source prompts for a specified item. This method applies to the Report and Model item types.

GetItemDataSources(String)

Returns the data sources for an item in the catalog.

GetItemDefinition(String)

Retrieves the definition or content for an item. This method applies to the Report, Model, Dataset, Component, Resource, and DataSource item types.

GetItemHistoryLimit(String, Boolean, Int32)

Returns the item history snapshot limit for a specified catalog item. This method applies to the Report item type.

GetItemHistoryOptions(String, Boolean, ScheduleDefinitionOrReference)

Returns the item history snapshot option and properties that are generated for a catalog item. This method applies to the Report item type.

GetItemLink(String)

Returns the name of the item whose item definition is used for the specified linked item.This method applies to the Report item type.

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

Returns parameter properties for a specified item.This method can also be used to validate parameter values against parameters for a specified item.

GetItemReferences(String, String)

Returns a list of catalog item references associated with an item. This method applies to the Report and Dataset item types.

GetItemType(String)

Retrieves the type of an item in a report server database or SharePoint library, if the item exists.

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 a report server database or SharePoint library.

GetPolicies(String, Boolean)

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

GetProperties(String, Property[])

Returns the value of one or more properties of an item in a report server database or SharePoint library. This method applies to all item types.

GetReportServerConfigInfo(Boolean)

Returns information on the connected report server instance or all the report server instances in a scale-out deployment.

GetRoleProperties(String, 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. This method only applies to native mode.

GetSystemPolicies()

Returns the system policies, including groups and associated roles.This method only applies to native mode.

GetSystemProperties(Property[])

Returns the value of one or more system properties.

GetUserModel(String, String)

Returns the semantic piece 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. This method applies to all item types.

IsSSLRequired()

Returns a Boolean value that indicates whether the Secure Socket Layer (SSL) protocol is required to use this end point.

ListCacheRefreshPlans(String)

Returns a list of the cache refresh plans associated with a catalog item.

ListChildren(String, Boolean)

Gets a list of children of a specified folder.

ListDatabaseCredentialRetrievalOptions()

Returns a list of supported credential retrieval options.

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.

ListExecutionSettings()

Returns a list of supported execution settings.

ListExtensions(String)

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

ListExtensionTypes()

Returns a list of supported extension types.

ListItemHistory(String)

Returns a list of item history snapshots and their properties for a specified catalog item. This method applies to the Report item type.

ListItemTypes()

Returns a list of supported catalog item types.

ListJobActions()

Returns a list of supported job actions.

ListJobs()

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

ListJobStates()

Returns a list of supported job states.

ListJobTypes()

Returns a list of supported job types.

ListModelDrillthroughReports(String, String)

Lists drillthrough reports associated with an entity in a model.

ListModelItemChildren(String, String, Boolean)

Returns an array of model item child elements.

ListModelItemTypes()

Returns a list of supported model item types.

ListModelPerspectives(String)

Lists models and perspectives available to the user.

ListMySubscriptions(String)

Retrieves a list of subscriptions that have been created by the current user of the report server or SharePoint site for the given catalog item.

ListParameterStates()

Returns a list of supported parameter states.

ListParameterTypes()

Returns a list of supported parameter types.

ListParents(String)

Retrieves parent items for the given item.

ListRoles(String, String)

Returns the names and descriptions of roles on a report server or a given SharePoint site.

ListScheduledItems(String)

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

ListSchedules(String)

Returns a list of all shared schedules in the report server database or for a given SharePoint site.

ListScheduleStates()

Returns a list of supported schedule states.

ListSecurityScopes()

Returns a list of supported security scopes.

ListSubscriptions(String)

Retrieves a list of subscriptions that have been created for a given item. This method applies to the Report item type.

ListSubscriptionsUsingDataSource(String)

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

ListTasks(String)

Returns the tasks that are managed by the report server.

Logoff()

Logs out the current user making Web service requests. This method only applies to native mode.

LogonUser(String, String, String)

Logs on a user and authenticates a user request to the Report Server Web service. This method only applies to native mode.

MoveItem(String, String)

Moves and/or renames an item. This method applies to all item types.

PauseSchedule(String)

Pauses the execution of a given schedule.

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

Returns a dataset that contains 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 an item to be cached and provides settings that specify when the cached copy of the item expires. This method applies to the Report and Dataset item types.

SetCacheRefreshPlanProperties(String, String, String, String, ParameterValue[])

Sets the properties of a cache refresh plan.

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

Sets the properties of a data-driven subscription.

SetDataSourceContents(String, DataSourceDefinition)

Sets the connection properties associated with a DataSource.

SetExecutionOptions(String, String, ScheduleDefinitionOrReference)

Sets execution options and associated execution properties for a specified item. This method applies to the Report item type.

SetItemDataSources(String, DataSource[])

Sets the data sources for an item in a report server database or SharePoint library. This method applies to the Report and Model item types.

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

Sets the definition or content for a specified item. This method applies to the Report, Model, Dataset, Component, Resource, and DataSource item types.

SetItemHistoryLimit(String, Boolean, Int32)

Specifies the number of snapshots of an item that the report server retains. This method applies to the Report item type.

SetItemHistoryOptions(String, Boolean, Boolean, ScheduleDefinitionOrReference)

Sets item history options that specify when an item history snapshot is created for a specified catalog item. This method applies to the Report item type.

SetItemLink(String, String)

Specifies the catalog item that is used for the item definition of an existing linked item. This method applies to the Report item type.

SetItemParameters(String, ItemParameter[])

Sets parameter properties for a specified item.

SetItemReferences(String, ItemReference[])

Sets the catalog items associated with an item. This method applies to the Report and Dataset item types.

SetModelDrillthroughReports(String, String, ModelDrillthroughReport[])

Associates a set of drillthrough reports together 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.

SetRoleProperties(String, String, String[])

Sets role properties and associates a collection of tasks with a specified role. This method only applies to native mode.

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. This only applies to native mode.

SetSystemProperties(Property[])

Sets one or more system properties for the report server or SharePoint farm.

TestConnectForDataSourceDefinition(DataSourceDefinition, String, String, String)

Tests the connection for a data source. This method supports the direct testing of the data source.

TestConnectForItemDataSource(String, String, String, String, String)

Tests the connection for a data source. This method supports the testing of published data sources that are used by reports or models and shared data sources. This method applies to the Report, Model, and Dataset item types.

UpdateItemExecutionSnapshot(String)

Generates an item execution snapshot for a specified item. This method applies to the Report item type.

ValidateExtensionSettings(String, ParameterValueOrFieldReference[], String)

Validates Reporting Services extension settings.

Applies to