ReportingService2010.SetModelDrillthroughReports Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Associa una serie di report di drillthrough insieme a un modello.
public:
void SetModelDrillthroughReports(System::String ^ Model, System::String ^ ModelItemID, cli::array <ReportService2010::ModelDrillthroughReport ^> ^ Reports);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetModelDrillthroughReports", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public void SetModelDrillthroughReports(string Model, string ModelItemID, ReportService2010.ModelDrillthroughReport[] Reports);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetModelDrillthroughReports", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.SetModelDrillthroughReports : string * string * ReportService2010.ModelDrillthroughReport[] -> unit
Public Sub SetModelDrillthroughReports (Model As String, ModelItemID As String, Reports As ModelDrillthroughReport())
Parametri
- Model
- String
L'URL completamente qualificato del modello include il nome file e l'estensione del nome file .smdl.
- ModelItemID
- String
L'ID dell'elemento del modello nel modello per il quale impostare i report drillthrough del modello
- Reports
- ModelDrillthroughReport[]
Matrice di oggetti ModelDrillthroughReport.
- Attributi
Commenti
La tabella sottostante mostra informazioni sull'intestazione e sui permessi di questa operazione.
| Utilizzo dell'intestazione SOAP | (Dentro) TrustedUserHeaderValue (Fuori) ServerInfoHeaderValue |
| Permessi richiesti per la modalità nativa |
UpdateContent su Model E ReadProperties su ogni rapporto in Reports |
| Permessi richiesti in modalità SharePoint |
<xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> su Model E <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> su ogni rapporto in Reports |
Se non sono definiti report di perforazione, l'utente verrà indirizzato a un report di clickthrough generato dinamicamente.
I report di drillthrough possono essere a singola istanza o a più istanze. , Puoi impostare uno di ogni tipo di ModelDrillthroughReport per un elemento modello. Si specifica il tipo del report drillthrough del modello impostando la Type proprietà dell'oggetto ModelDrillthroughReport a un valore di enumeratore valido DrillthroughType di Detail per singola istanza o List.
Quando SetModelDrillthroughReports viene chiamato, i precedenti report drillthrough del modello vengono sostituiti con l'insieme fornito di report drillthrough.
Per rimuovere un report drillthrough specifico del modello, omettine l'inserimento dal Reports momento in cui chiami il SetModelDrillthroughReports metodo.
Puoi fornire un valore vuoto per il Reports parametro per rimuovere tutti i report drillthrough del modello per questa entità.