MLCInformationGetMLCSiblingInformation Method (ConnectionId, SessionId, DocumentId, String, Int32) Content Studio 5.7 SDK
Content Studio Web Content Management System

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

Returns information about localized version of an MLC document given the language of the localized version.

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

public static MLCSiblingInformation GetMLCSiblingInformation(
	ConnectionId connectionId,
	SessionId sessionId,
	DocumentId documentId,
	string languageCode,
	int languageId
)

Parameters

connectionId
Type: ContentStudioConnectionId
A value that identifies the web site
sessionId
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
documentId
Type: ContentStudio.DocumentDocumentId
The original document to get a localized version for. This document must exist.
languageCode
Type: SystemString
The language identifier of the localized version to get information for.. Pass null or an empty string to LanguageID instead.
languageId
Type: SystemInt32
The language identifier of the localized version to use if no LanguageCode has been supplied.

Return Value

Type: MLCSiblingInformation
A MLCSiblingInformation containing MLC member data.
Exceptions

ExceptionCondition
CSException One of the following conditions
  • 1001 - The SessionID is invalid.
  • 1002 - Permission denied.
  • 1009 - Invalid parameter value.
  • 1100 - The document does not exist.
  • 1558 - The document is not an MLC member document.
  • 1561 - The language does not exists in the specified MLC.
  • 1838 - The document is not published.
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

Browse permission is required on the document and anonymous callers are supported.
Remarks

If there is no version of the document in the requested language the DocumentID property will be zero.
See Also

Reference