ReportingService2010.SetItemDefinition Yöntemi
Tanım veya içeriği belirtilen öğe için ayarlar.Bu yöntem uygulandığı raporu, modeli, Dataset, Bileşen, kaynak, ve veri kaynağı öğe türleri.
Ad Alanı: ReportService2010
Derleme: ReportService2010 (ReportService2010 içinde.dll)
Sözdizimi
'Bildirim
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemDefinition", 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)> _
Public Function SetItemDefinition ( _
ItemPath As String, _
Definition As Byte(), _
Properties As Property() _
) As Warning()
'Kullanım
Dim instance As ReportingService2010
Dim ItemPath As String
Dim Definition As Byte()
Dim Properties As Property()
Dim returnValue As Warning()
returnValue = instance.SetItemDefinition(ItemPath, _
Definition, Properties)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemDefinition", 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)]
public Warning[] SetItemDefinition(
string ItemPath,
byte[] Definition,
Property[] Properties
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemDefinition", 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)]
public:
array<Warning^>^ SetItemDefinition(
String^ ItemPath,
array<unsigned char>^ Definition,
array<Property^>^ Properties
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemDefinition", 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)>]
member SetItemDefinition :
ItemPath:string *
Definition:byte[] *
Properties:Property[] -> Warning[]
public function SetItemDefinition(
ItemPath : String,
Definition : byte[],
Properties : Property[]
) : Warning[]
Parametreler
- ItemPath
Tür: System.String
Dosya adı da dahil olmak üzere öğe ve SharePoint modunda, uzantının tam url.
- Definition
Tür: array<System.Byte[]
Kaydetmek için öğe tanımı.
- Properties
Tür: array<ReportService2010.Property[]
Bir dizi Property özelliklerini tanımlar ve değerler nesneler küme öğe.
Dönüş Değeri
Tür: array<ReportService2010.Warning[]
Bir dizi Warning öğe tanımı veya içerik doğrulandı zaman oluştu uyarılar açıklayan nesnelerinin.
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 türüne bağlıdır:
|
SharePoint modu gerekli izinleri |
EditListItems() |
Uzunluğu ItemPath parametresi; 260 karakteri aşamaz Aksi takdirde hata koduyla bir soap özel durum rsItemLengthExceeded.
ItemPath Parametresi null veya boş veya aşağıdaki ayrılmış karakterleri içeremez: : ? ; @ & = + $ , \ * > < | . ".Öğeler klasörünün tam yol adını ayırmak için eğik çizgi (/) karakter kullanabilirsiniz, ancak klasör adının sonuna kullanamazsınız.
ItemType Olan raporu, sonra da xml verileri tarafından tanımlanan Report Definition Language.ItemType Olan modeli, sonra da xml verileri tarafından tanımlanan Semantic Model Definition Language.
öğe değiştirir için tanım veya içeriği değiştirme ModifiedBy, ModifiedDate, ve Size özelliklerini öğe.Description Özellik etkilenen.Yürütme ayarlarını ve varolan anlık görüntüleri öğe için değişmeden kalır.