XmlIndexTagsAppend Method (ConnectionId, SessionId, CategoryId, String, Int32) Content Studio 5.7 SDK
Content Studio Web Content Management System

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

Adds a new set of Xml data tags and starts the background indexing process against these tags.

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

public void Append(
	ConnectionId connectionId,
	SessionId sessionId,
	CategoryId categoryId,
	string[] tagNames,
	out int[] insertedTags
)

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).
categoryId
Type: ContentStudio.DocumentCategoryId
The category to insert xml tags for
tagNames
Type: SystemString
An array of tag names to add. No member can be longer than MAX_TAGNAME_SIZE characters in size an must be valid xml name identifiers.
insertedTags
Type: SystemInt32
Returns an array of inserted tag id. If a tag name already exists in the category a new tag cannot be added in this case zero is returned in its place in the array. If no tag names where passed in an empty array is returned.
Exceptions

ExceptionCondition
CSExceptionA business rule was violated in the underlying Content Studio database
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

WRITECONTAINER permission on the category is required.
See Also

Reference