ReportingService2006.GetItemType(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索 SharePoint 库中某项的类型(如果该项存在)。
public:
ReportService2006::ItemTypeEnum GetItemType(System::String ^ Item);
public ReportService2006.ItemTypeEnum GetItemType (string Item);
member this.GetItemType : string -> ReportService2006.ItemTypeEnum
Public Function GetItemType (Item As String) As ItemTypeEnum
参数
- Item
- String
项的完全限定 URL,其中包括文件名和扩展名。
返回
一个 ItemTypeEnum 值。
注解
下表显示了有关此操作的标头和权限信息。
SOAP 标头 | (In) TrustedUserHeaderValue (Out) ServerInfoHeaderValue |
所需的权限 | <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> |
GetItemType使用 方法可确定 SharePoint 库中项的类型。