ReportingService2010.GetItemType(String)
ReportingService2010.GetItemType(String)
ReportingService2010.GetItemType(String)
Method
Definition
Retrieves the type of an item in a report server database or SharePoint library, if the item exists.
public:
System::String ^ GetItemType(System::String ^ ItemPath);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemType", 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 string GetItemType (string ItemPath);
Public Function GetItemType (ItemPath As String) As String
Parameters
The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.
Returns
Remarks
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 : ReadPropertiesModel : 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.