ReportingService2010.SetItemReferences Yöntemi
Bir öğe ile ilişkilendirilen katalog öğelerini ayarlar.Bu yöntem uygulandığı raporu ve Dataset öğe türleri.
Ad Alanı: ReportService2010
Derleme: ReportService2010 (ReportService2010 içinde.dll)
Sözdizimi
'Bildirim
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemReferences", RequestNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Sub SetItemReferences ( _
ItemPath As String, _
ItemReferences As ItemReference() _
)
'Kullanım
Dim instance As ReportingService2010
Dim ItemPath As String
Dim ItemReferences As ItemReference()
instance.SetItemReferences(ItemPath, _
ItemReferences)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemReferences", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public void SetItemReferences(
string ItemPath,
ItemReference[] ItemReferences
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemReferences", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
void SetItemReferences(
String^ ItemPath,
array<ItemReference^>^ ItemReferences
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemReferences", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member SetItemReferences :
ItemPath:string *
ItemReferences:ItemReference[] -> unit
public function SetItemReferences(
ItemPath : String,
ItemReferences : ItemReference[]
)
Parametreler
- ItemPath
Tür: System.String
Dosya adı da dahil olmak üzere öğe ve SharePoint modunda, uzantının tam url.
- ItemReferences
Tür: array<ReportService2010.ItemReference[]
öğe başvuru için küme.
Açıklamalar
Aşağıdaki tablo üstbilgi ve izinler bu işlemi gösterir.
soap üstbilgisi kullanımı |
(Giden)ServerInfoHeaderValue |
Yerel mod gerekli izinleri |
öğe tipi ise, rapor veya LinkedReport:
öğe türü ise DataSet:
öğe türü ise modeli: UpdateDatasourceüzerinde ItemPath ve ReadProperties veri kaynak üzerinde |
SharePoint modu gerekli izinleri |
EditListItems()üzerinde ItemPath ve ViewListItems() her öğe üzerinde ItemReferences |
İçin bu yöntem kullanın küme bir raporun başvuru için paylaşılan verikümes, paylaşılan veri kaynakları bir raporun başvurular ve paylaşılan verikümeait başvuruları paylaşılan veri kaynakları.