Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Write container permission is needed on the category in order to create a new MLC.
[This is preliminary documentation and is subject to change.]
Creates a new multi language cluster.
Namespace: ContentStudio.Document.MLC
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public void Create( ConnectionId connectionId, SessionId sessionId, CategoryId masterCategoryId, int mlcLanguageId )
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). - masterCategoryId
- Type: ContentStudio.DocumentCategoryId
The category that will be the new MLC master category - mlcLanguageId
- Type: SystemInt32
The language identifier of the MLC, the language specified must not exist in the MLC already and the categories must be of the same type.
Exceptions
Exception | Condition |
---|---|
CSException | A business rule was violated in the underlying Content Studio database
|
SqlException | An error occurred when executing the command against the Content Studio database |
Content Studio permissions
See Also