C# Class RsDeploy.ReportDeployment

Afficher le fichier Open project: chrispfarrell/RsDeploy Class Usage Examples

Méthodes publiques

Méthode Description
DeleteAndRecreateFolder ( string reportingServerFolderName, string folderName ) : void

This routine deletes and recreates a folder on a remote SSRS server

PublishReport ( string fileSystemPath, string reportingServerFolderName, string reportName ) : void

Routine deploys a report from local file system to remote SSRS server using WebServices

ReportDeployment ( ) : System
ReportDeployment ( Microsoft.SqlServer.ReportingServices2010.ReportingService2010 rs ) : System
SetDataSourceForReport ( string reportingServerFolderName, string reportName, string dataSourceReferenceName ) : void

Private Methods

Méthode Description
DeployReportToReportingServer ( string reportingServerFolderName, string reportName, byte definition ) : void
GetServerDataSources ( string dataSourceReferenceName, string dataSourceName ) : DataSource[]
NormalizeFileSystemPath ( string fileSystemPath ) : string

Checks to see if FileSystemPath ends with \. If not present, it is added

NormalizeReportingServerFolderName ( string reportingServerFolderName ) : string

Checks to see if the reporting server folder name begins with a /. If not present, it is added

ReadReportDefinitionFromFileSystem ( string fileSystemPath, string reportName ) : byte[]

Method Details

DeleteAndRecreateFolder() public méthode

This routine deletes and recreates a folder on a remote SSRS server
public DeleteAndRecreateFolder ( string reportingServerFolderName, string folderName ) : void
reportingServerFolderName string Typically this is a / for the root folder
folderName string Name of the folder to create
Résultat void

PublishReport() public méthode

Routine deploys a report from local file system to remote SSRS server using WebServices
public PublishReport ( string fileSystemPath, string reportingServerFolderName, string reportName ) : void
fileSystemPath string fully qualified file system path
reportingServerFolderName string reporting server folder to deploy to relative to root
reportName string Text name of report
Résultat void

ReportDeployment() public méthode

public ReportDeployment ( ) : System
Résultat System

ReportDeployment() public méthode

public ReportDeployment ( Microsoft.SqlServer.ReportingServices2010.ReportingService2010 rs ) : System
rs Microsoft.SqlServer.ReportingServices2010.ReportingService2010
Résultat System

SetDataSourceForReport() public méthode

public SetDataSourceForReport ( string reportingServerFolderName, string reportName, string dataSourceReferenceName ) : void
reportingServerFolderName string
reportName string
dataSourceReferenceName string
Résultat void