Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

ReportingService2010.DeleteItemHistorySnapshot Method

Deletes an individual item history snapshot for a specified catalog item. If errors occur, the item history snapshot is not deleted. This method applies to the Report item type.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)
public function DeleteItemHistorySnapshot(
	ItemPath : String, 
	HistoryID : String
)

Parameters

ItemPath
Type: System.String
The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.
HistoryID
Type: System.String
The ID of the item history snapshot to be deleted, returned by the CreateItemHistorySnapshot method.

The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

DeleteHistory

SharePoint Mode Required Permissions

DeleteVersions()

The length of the ItemPath parameter cannot exceed 260 characters; otherwise, a SOAP exception is thrown with the error code rsItemLengthExceeded.

The ItemPath parameter cannot be null or empty or contain the following reserved characters: : ? ; @ & = + $ , \ * > < | . ". You can use the forward slash character (/) to separate items in the full path name of the folder, but you cannot use it at the end of the folder name.

Use the ListItemHistory method to retrieve the HistoryID property of the item history snapshot that you want to delete.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.