ReportingService2010::GetItemDefinition Method
SQL Server 2012
Retrieves the definition or content for an item. This method applies to the Report, Model, Dataset, Component, Resource, and DataSource item types.
Namespace: ReportService2010
Assembly: ReportService2010 (in ReportService2010.dll)
[SoapDocumentMethodAttribute(L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemDefinition", RequestNamespace = L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace = L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)] [SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)] [SoapHeaderAttribute(L"TrustedUserHeaderValue")] public: array<unsigned char>^ GetItemDefinition( String^ ItemPath )
Parameters
- ItemPath
- Type: System::String
The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.
Return Value
Type: array<System::Byte>The item definition as a Base 64-encoded byte array. For more information about this data type, see "Byte Structure" in the Microsoft .NET Framework documentation.
The table below shows header and permissions information on this operation.
SOAP Header Usage | (Out) ServerInfoHeaderValue |
Native Mode Required Permissions | Depends on the item type:
|
SharePoint Mode Required Permissions |
