A Sandcastle Documented Class Library

# ProjectController DuplicateProject Method

POST /Project/Duplicate/ Duplicates the specified project.

Namespace: Dundas.BI.WebApi.Controllers
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [HttpPostAttribute]
    [ActionNameAttribute("Duplicate")]
    public IActionResult DuplicateProject(
    	[FromBodyAttribute] DuplicateProjectOptions options,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ActionNameAttribute("Duplicate")>
    Public Function DuplicateProject (
    	<FromBodyAttribute> options As DuplicateProjectOptions,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"Duplicate")]
    IActionResult^ DuplicateProject(
    	[FromBodyAttribute] DuplicateProjectOptions^ options,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPostAttribute>]
    [<ActionNameAttribute("Duplicate")>]
    member DuplicateProject :
            [<FromBodyAttribute>] options : DuplicateProjectOptions *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

options
  Type: Dundas.BI.WebApi.Models
  DuplicateProjectOptions
  A class containing the duplicate options.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  ID of the current session.

#### Return Value

Type: IActionResult
The ProjectData object representing the duplicated project, or a status code indicating the reason for failure.
See Also

#### Reference

ProjectController Class
Dundas.BI.WebApi.Controllers Namespace