SsrsAliases.

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

Summary

Uploads an SSRS Shared DataSet (.rsd) to the folder specified
Assembly
Cake.SSRS.dll
Namespace
Cake.SSRS
Containing Type
SsrsAliases

Syntax

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

Examples

var catalogItem = SsrsUploadReport("./path/to/dataset.rsd", "/AdventureWorks",
        new Dictionary<string, string>
        {
             ["Description"] = "Description for the DataSet"
        },
        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