共用方式為


ReportingService2006.GetItemType 方法

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

命名空間:  ReportService2006
組件:  ReportService2006 (在 ReportService2006.dll 中)

語法

'宣告
Public Function GetItemType ( _
    Item As String _
) As ItemTypeEnum
'用途
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

參數

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

傳回值

型別:ReportService2006.ItemTypeEnum
A ItemTypeEnum value.

備註

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.

請參閱

參考

ReportingService2006 類別

ReportService2006 命名空間