2010-07-21 8 views

risposta

26

SSRS ha un API completa SOAP, è possibile visualizzare informazioni su quel qui: http://technet.microsoft.com/en-us/library/ms155376.aspx

Dall'articolo sopra:

// Create a Web service proxy object and set credentials 
    ReportingService2005 rs = new ReportingService2005(); 
    rs.Credentials = System.Net.CredentialCache.DefaultCredentials; 

    // Return a list of catalog items in the report server database 
    CatalogItem[] items = rs.ListChildren("/", true); 

    // For each report, display the path of the report in a Listbox 
    foreach(CatalogItem ci in items) 
    { 
     if (ci.Type == ItemTypeEnum.Report) 
     catalogListBox.Items.Add(ci.Path); 
    } 

C'è un tutorial completo anche lì: http://technet.microsoft.com/en-us/library/ms169926.aspx

+1

Cool. Quindi, come posso ottenere un riferimento a ReportServices? Devo specificare un'istanza di reportservice al momento della compilazione? (Scusate, sono un po 'noob in questo) – WOPR

+0

Ho appena aggiunto un link all'esercitazione completa sul sito technet, che dovrebbe darvi una buona introduzione su come andare avanti con esso –

Problemi correlati