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 命名空间