Partager via


Méthode ReportingService2006.GetItemType

Retrieves the type of an item in a SharePoint library, if the item exists.

Espace de noms :  ReportService2006
Assembly :  ReportService2006 (en ReportService2006.dll)

Syntaxe

'Déclaration
Public Function GetItemType ( _
    Item As String _
) As ItemTypeEnum
'Utilisation
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

Paramètres

  • Item
    Type : System.String
    The fully qualified URL of the item including the file name and extension.

Valeur de retour

Type : ReportService2006.ItemTypeEnum
A ItemTypeEnum value.

Notes

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

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

ViewListItems

Use the GetItemType method to determine the type of an item in a SharePoint library.

Voir aussi

Référence

ReportingService2006 Classe

Espace de noms ReportService2006