ReportingService2006.GetItemType Method
Retrieves the type of an item in a SharePoint library, if the item exists.
Namespace: ReportService2006
Assembly: ReportService2006 (in ReportService2006.dll)
Syntax
'Declaration
Public Function GetItemType ( _
Item As String _
) As ItemTypeEnum
'Usage
Dim instance As ReportingService2006
Dim Item As String
Dim returnValue As ItemTypeEnum
returnValue = instance.GetItemType(Item)
public ItemTypeEnum GetItemType(
string Item
)
public:
ItemTypeEnum GetItemType(
String^ Item
)
member GetItemType :
Item:string -> ItemTypeEnum
public function GetItemType(
Item : String
) : ItemTypeEnum
Parameters
- Item
Type: System.String
The fully qualified URL of the item including the file name and extension.
Return Value
Type: ReportService2006.ItemTypeEnum
A ItemTypeEnum value.
Remarks
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |
Use the GetItemType method to determine the type of an item in a SharePoint library.