ReportingService2006.GetItemType(String) Método

Definición

Recupera el tipo de un elemento de una biblioteca de SharePoint, si el elemento existe.

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

Parámetros

Item
String

La dirección URL completa del elemento, incluidos el nombre de archivo y la extensión.

Devoluciones

Valor ItemTypeEnum.

Comentarios

En la siguiente tabla se muestra la información de encabezado y de permisos de esta operación.

Encabezados SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Permisos necesarios <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

Use el GetItemType método para determinar el tipo de un elemento en una biblioteca de SharePoint.

Se aplica a