SsrsAliases.

SsrsCreateFolder(ICakeContext, string, string, Action<SsrsConnectionSettings>) Method

Summary

Creates a new Folder in SSRS if it does not exist
Assembly
Cake.SSRS.dll
Namespace
Cake.SSRS
Containing Type
SsrsAliases

Syntax

public static CatalogItem SsrsCreateFolder(this ICakeContext context, string folderName, string parentFolder, Action<SsrsConnectionSettings> settingsConfigurator)

Examples

var catalogItem = SsrsCreateFolder("AdventureWorks", "/", configurator =>
{
    configurator.ServiceEndpoint = "http://localhost/reportserver/ReportService2010.asmx";
    configurator.UseDefaultCredentials = true;
});

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext Cake Context
folderName string Name of the folder to create
parentFolder string Parent folder (if any) to create the new folder under
settingsConfigurator Action<SsrsConnectionSettings> SSRS Settings

Return Value

Type Description
CatalogItem Catalog Item

See Also