Condividi tramite


ReportingService2006.SetModelDrillthroughReports Metodo

Definizione

Associa un set di report drill-through a un modello.

public:
 void SetModelDrillthroughReports(System::String ^ Model, System::String ^ ModelItemID, cli::array <ReportService2006::ModelDrillthroughReport ^> ^ Reports);
public void SetModelDrillthroughReports (string Model, string ModelItemID, ReportService2006.ModelDrillthroughReport[] Reports);
member this.SetModelDrillthroughReports : string * string * ReportService2006.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.

Commenti

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

Intestazioni SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Autorizzazioni necessarie <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> on Model AND <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> in ogni report in Reports

Se non sono stati definiti report drill-through, l'utente verrà indirizzato a un report click-through generato dinamicamente.

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

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

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