Skip to content

Latest commit

 

History

History
38 lines (35 loc) · 2.95 KB

File metadata and controls

38 lines (35 loc) · 2.95 KB
title Data sources and connection methods
description In Report Services, you can use these methods to set and manage data source connections and credentials.
ms.date 09/25/2024
ms.service reporting-services
ms.subservice report-server-web-service
ms.topic reference
ms.custom
updatefrequency5
helpviewer_keywords
connections [Reporting Services], data sources
reports [Reporting Services], data
data sources [Reporting Services], methods

Data sources and connection methods

You can use these methods to set and manage data source connections and credentials.

Method Action
xref:ReportService2010.ReportingService2010.CreateDataSource%2A Creates a new data source in the report server database or SharePoint library.
xref:ReportService2010.ReportingService2010.DisableDataSource%2A Disables a data source that is enabled.
xref:ReportService2010.ReportingService2010.EnableDataSource%2A Enables a data source that is disabled.
xref:ReportService2010.ReportingService2010.GetDataSourceContents%2A Returns the contents of a data source.
xref:ReportService2010.ReportingService2010.GetItemDataSourcePrompts%2A Gets the data source prompts for a specified item.
xref:ReportService2010.ReportingService2010.GetItemDataSources%2A Returns the data sources for an item in the catalog.
xref:ReportService2010.ReportingService2010.ListDependentItems%2A Returns a list of catalog items that reference a specified catalog item.
xref:ReportService2010.ReportingService2010.ListSubscriptionsUsingDataSource%2A Returns a list of subscriptions that are associated with a given data source.
xref:ReportService2010.ReportingService2010.SetDataSourceContents%2A Sets the connection properties that are associated with a data source.
xref:ReportService2010.ReportingService2010.SetItemDataSources%2A Sets the data sources for an item in a report server database or SharePoint library.
xref:ReportService2010.ReportingService2010.TestConnectForDataSourceDefinition%2A Tests the connection for a data source. This method supports the direct testing of the data source.
xref:ReportService2010.ReportingService2010.TestConnectForItemDataSource%2A 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.

Related content