ReportingService2010.SetModelDrillthroughReports Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mengaitkan serangkaian laporan penelusuran bersama dengan model.
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())
Parameter
- Model
- String
URL model yang sepenuhnya memenuhi syarat termasuk nama file dan ekstensi nama file .smdl.
- ModelItemID
- String
ID item model dalam model untuk mengatur laporan penelusuran model
- Reports
- ModelDrillthroughReport[]
Array ModelDrillthroughReport objek.
- Atribut
Keterangan
Tabel di bawah ini memperlihatkan informasi header dan izin pada operasi ini.
Penggunaan Header SOAP | (Dalam) TrustedUserHeaderValue (Keluar) ServerInfoHeaderValue |
Izin Yang Diperlukan Mode Asli | UpdateContent pada Model AND ReadProperties pada setiap laporan di Reports |
Izin yang Diperlukan Mode SharePoint | <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> pada Model AND <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> pada setiap laporan di Reports |
Jika tidak ada laporan penelusuran yang ditentukan, pengguna akan diarahkan ke laporan clickthrough yang dihasilkan secara dinamis.
Laporan penelusuran dapat berupa instans tunggal atau beberapa instans. , Anda dapat mengatur salah satu dari setiap jenis ModelDrillthroughReport untuk item model. Anda menentukan jenis laporan penelusuran model dengan mengatur Type properti ModelDrillthroughReport objek ke nilai Detail enumerator yang valid DrillthroughType untuk instans tunggal atau List.
Ketika SetModelDrillthroughReports dipanggil, laporan penelusuran model sebelumnya diganti dengan serangkaian laporan penelusuran yang disediakan.
Untuk menghapus laporan penelusuran model tertentu, hilangkan entrinya dari Reports
saat Anda memanggil SetModelDrillthroughReports metode .
Anda dapat menyediakan nilai kosong untuk parameter guna Reports
menghapus semua laporan penelusuran model untuk entitas ini.