FileSystemEntryControllerBase.RollbackEntry Method |
Rolls the file or folder back to the specified revision number.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
protected ActionResult RollbackEntry(
Guid id,
long revisionNumber,
Guid? sessionId = null
)
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Protected Function RollbackEntry (
id As Guid,
revisionNumber As Long,
Optional sessionId As Guid? = Nothing
) As ActionResult
protected:
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult^ RollbackEntry(
Guid id,
long long revisionNumber,
Nullable<Guid> sessionId = nullptr
)
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member RollbackEntry :
id : Guid *
revisionNumber : int64 *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult
Parameters
- id
- Type: System.Guid
The ID of the file to rollback. - revisionNumber
- Type: System.Int64
The revision number. - sessionId (Optional)
- Type: System.Nullable<Guid>
The ID of the current session.
Return Value
Type:
ActionResult
See Also