MarkLogic XCC/.Net Library

ContentSource.NewSession Method (String)

Attempts to establish a Session with the specified contentbase on the server represented by this ContentSource.

[Visual Basic]
Function NewSession( _
   ByVal contentbaseId As String _
) As Session
[C#]
Session NewSession(
   string contentbaseId
);

Parameters

contentbaseId
A contentbase name or numeric ID.

Return Value

A Session instance.

See Also

ContentSource Interface | Marklogic.Xcc Namespace | ContentSource.NewSession Overload List