CSSyncronizedDocumentDisconnectFromParent Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Removes the document from a document hierarchy.

Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)

public void DisconnectFromParent()

  • The document is read-only
  • The document has not been created yet, use the Save method.
  • The document is not connected another document
  • 1001 - The Session is invalid
  • 1002 - Permission denied
  • 1804 - The document could not be found.
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

Both DELETE permission on the parent document and CREATE on the current document is required.

This method can only be called on a writable, checked out document. Use the ReadOnly property the check this condition. Additionally, it cannot be used with documents that are not part of document hierarchy
See Also