ReportingService2010.SetModelDrillthroughReports(String, String, ModelDrillthroughReport[]) Metodo

Definizione

Associa un set di report drill-through 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

URL completo del modello, inclusi il nome file e l'estensione smdl.

ModelItemID
String

ID dell'elemento del modello per il quale impostare report drill-through di modello.

Reports
ModelDrillthroughReport[]

Matrice di oggetti ModelDrillthroughReport.

Attributi

Commenti

Nella tabella seguente vengono mostrate le informazioni sull'intestazione e sulle autorizzazioni relative a questa operazione.

Utilizzo intestazione SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Autorizzazioni necessarie per la modalità nativa UpdateContent in Model e in ReadProperties ogni report in Reports
Autorizzazioni necessarie per la modalità SharePoint ViewListItems in Model e in ViewListItems ogni report in Reports

Se non è stato definito alcun report drill-through, l'utente verrà indirizzato a un report click-through generato dinamicamente.

I report drill-through possono essere a istanza singola o a più istanze. , È possibile impostare uno di ogni tipo di ModelDrillthroughReport per un elemento del modello. Per specificare il tipo del report drill-through del modello, impostare la Type proprietà dell' ModelDrillthroughReport oggetto su un DrillthroughType valore di enumeratore valido di Detail per istanza singola o List .

Quando SetModelDrillthroughReports viene chiamato il metodo, i report drill-through del modello precedente vengono sostituiti con il set di report drill-through fornito.

Per rimuovere un report drill-through del modello specifico, omettere la voce da Reports quando si chiama il SetModelDrillthroughReports metodo.

È possibile specificare un valore vuoto per il Reports parametro per rimuovere tutti i report drill-through del modello per questa entità.

Si applica a