GetItemType Method
SQL Server 2000
ReportingService.GetItemType Method
Retrieves the type of an item in the report server database, if the item exists.
Public Function GetItemType( _ ByVal Item As String _ ) As Integer Member of [Namespace].ReportingService
public int GetItemType( string Item ); Member of [Namespace].ReportingService
Parameters
- Item
- The full path name of the item.
Return Value
One of the ItemTypeEnum values.
Permissions
| Operation | Description |
|---|---|
| Read Properties | Required to read the meta data properties that are associated with an item. |
Remarks
Use the ItemType property to determine the type of an item in the report server database. The following table lists the various item types.
| Item type | Description |
|---|---|
| Unknown | An item not associated with any known type |
| Folder | A folder |
| Report | A report |
| Resource | A resource |
| LinkedReport | A linked report |
| DataSource | A data source |