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

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

Gets information about the siblings (and possible) siblings of an MLC document. Entries for each one of the languages in the current MLC are returned even if there are no actual document in the member language.

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

public static IEnumerable<MLCDocumentItem> GetMLCSiblings(
	ConnectionId connectionId,
	SessionId sessionId,
	DocumentId documentId
)

Parameters

connectionId
Type: ContentStudioConnectionId
The connection id.
sessionId
Type: ContentStudio.SecuritySessionId
The session id.
documentId
Type: ContentStudio.DocumentDocumentId
The document id.

Return Value

Type: IEnumerableMLCDocumentItem
a list of MLCDocumentItem instances, each one representing an MLC sibling document
Exceptions

ExceptionCondition
CSExceptionA business rule was violated in the underlying Content Studio database
  • 1001 - The SessionID is invalid.
  • 1002 - Permission denied.
  • 1100 - The document does not exist.
  • 1558 - The document is not an MLC member document.
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

Read permission is required on the selected document.
Remarks

This method was added in Content Studio version 5.5

This is an object oriented version of the GetSiblings(ConnectionId, SessionId, DocumentId) API.

See Also

Reference