A Sandcastle Documented Class Library

# RelationshipController DeleteRelationship Method

DELETE /Relationship/{id} Deletes a relationship.

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

    [HttpDeleteAttribute]
    [ActionNameAttribute("Index")]
    public IActionResult DeleteRelationship(
    	Guid id,
    	Guid structureId,
    	Guid referencedStructureId,
    	Guid? sessionId = null
    )

    <HttpDeleteAttribute>
    <ActionNameAttribute("Index")>
    Public Function DeleteRelationship (
    	id As Guid,
    	structureId As Guid,
    	referencedStructureId As Guid,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpDeleteAttribute]
    [ActionNameAttribute(L"Index")]
    IActionResult^ DeleteRelationship(
    	Guid id,
    	Guid structureId,
    	Guid referencedStructureId,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpDeleteAttribute>]
    [<ActionNameAttribute("Index")>]
    member DeleteRelationship :
            id : Guid *
            structureId : Guid *
            referencedStructureId : Guid *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

id
  Type: System
  Guid
  The ID of the relationship to delete.
structureId
  Type: System
  Guid
  The ID of the structure.
referencedStructureId
  Type: System
  Guid
  The ID of the referenced structure.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

Type: IActionResult
A status code indicating success or the reason for failure.
See Also

#### Reference

RelationshipController Class
Dundas.BI.WebApi.Controllers Namespace