ReportingService2010.GetItemType(String) ReportingService2010.GetItemType(String) ReportingService2010.GetItemType(String) Method


Retrieves the type of an item in a report server database or SharePoint library, if the item exists.

 System::String ^ GetItemType(System::String ^ ItemPath);
[System.Web.Services.Protocols.SoapDocumentMethod("", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="", ResponseNamespace="", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public string GetItemType (string ItemPath);
Public Function GetItemType (ItemPath As String) As String


String String String

The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.


A String value that represents the item type.


The table below shows header and permissions information on this operation.

SOAP Header Usage (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Native Mode Required Permissions Depends on the item type:

- Folder: ReadProperties
- Report: ReadProperties
- Resource: ReadProperties
- DataSource: ReadProperties

Model: ReadProperties
SharePoint Mode Required Permissions ViewListItems

Use the GetItemType method to determine the type of an item in a report server database or SharePoint library. For a list of item types, use the ListItemTypes method.

Applies to