SsrsAliases.

SsrsCreateFolder(ICakeContext, string, string, 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, SsrsConnectionSettings settings)

Examples

var catalogItem = SsrsCreateFolder("AdventureWorks", "/", new SsrsConnectionSettings
{
    ServiceEndpoint = "http://localhost/reportserver/ReportService2010.asmx",
    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
settings SsrsConnectionSettings SSRS Settings

Return Value

Type Description
CatalogItem Catalog Item

See Also