ReportingService2005.GetItemType(String) Method

Definition

Retrieves the type of an item in the report server database, if the item exists.

public:
 ReportService2005::ItemTypeEnum GetItemType(System::String ^ Item);
public ReportService2005.ItemTypeEnum GetItemType (string Item);
member this.GetItemType : string -> ReportService2005.ItemTypeEnum
Public Function GetItemType (Item As String) As ItemTypeEnum

Parameters

Item
String

The full path name of the item.

Returns

An ItemTypeEnum value.

Remarks

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

SOAP Headers (Out) ServerInfoHeaderValue
Required Permissions Depends on the item type:

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

Use the GetItemType method to determine the type of an item in the report server database.

Applies to