SsrsAliases.

SsrsFindItem(ICakeContext, FindItemRequest, SsrsConnectionSettings) Method

Summary

Finds a catalog item within the SSRS folder structure
Assembly
Cake.SSRS.dll
Namespace
Cake.SSRS
Containing Type
SsrsAliases

Syntax

public static CatalogItem SsrsFindItem(this ICakeContext context, FindItemRequest request, SsrsConnectionSettings settings)

Examples

var catalogItem = SsrsFindItem( 
     new FindItemRequest
     {
          Folder = "/AdventureWorks",
          ItemName = "My_Report_Name",
          Recursive = false
     },
     new SsrsConnectionSettings
     {
         ServiceEndpoint = "http://localhost/reportserver/ReportService2010.asmx",
         UseDefaultCredentials = true
     });

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext Cake Context
request FindItemRequest Find ItemRequest Parameters.
settings SsrsConnectionSettings SSRS Settings

Return Value

Type Description
CatalogItem Catalog Item

See Also