SsrsAliases.

SsrsUploadDataSource(ICakeContext, FilePath, string, IDictionary<string, string>, SsrsConnectionSettings) Method

Summary

Uploads an SSRS DataSource (.rds) to the folder specified
Assembly
Cake.SSRS.dll
Namespace
Cake.SSRS
Containing Type
SsrsAliases

Syntax

public static CatalogItem SsrsUploadDataSource(this ICakeContext context, FilePath filePath, string folderPath, IDictionary<string, string> properties, SsrsConnectionSettings settings)

Examples

var catalogItem = SsrsUploadDataSource("./path/to/datasource.rds", "/AdventureWorks",
        new Dictionary<string, string>
        {
             ["Description"] = "Description for the DataSource"
        },
        new SsrsConnectionSettings
        {
            ServiceEndpoint = "http://localhost/reportserver/ReportService2010.asmx",
            UseDefaultCredentials = true
        });

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext Cake Contex
filePath FilePath The filePath to rds file to upload
folderPath string The relative path to the SSRS to deploy the report to.
properties IDictionary<string, string> A collection of properties to apply to the report
settings SsrsConnectionSettings Connection Settings

Return Value

Type Description
CatalogItem Catalog Item

See Also