MarkLogic XCC/.Net Library

Session.InsertContent Method (Content[])

Insert all the Content objects in the contentbase as a transactional unit. Upon successful return, all documents will have been committed. If an exception is thrown, none of the documents will have been committed.

[Visual Basic]
Sub InsertContent( _
   ByVal content As Content() _
)
[C#]
void InsertContent(
   Content[] content
);

Parameters

content
An array of Content objects that are inserted as a group atomically.

See Also

Session Interface | Marklogic.Xcc Namespace | Session.InsertContent Overload List