Compartilhar via


Método ReportingService2006.GetItemType

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

Namespace:  ReportService2006
Assembly:  ReportService2006 (em ReportService2006.dll)

Sintaxe

'Declaração
Public Function GetItemType ( _
    Item As String _
) As ItemTypeEnum
'Uso
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

Parâmetros

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

Valor de retorno

Tipo: ReportService2006.ItemTypeEnum
A ItemTypeEnum value.

Comentários

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.

Consulte também

Referência

ReportingService2006 Classe

Namespace ReportService2006