MarkLogic XCC/.Net Library |

# ContentSource.NewSession Method ()

Attempts to establish a Session with the default contentbase for this ContentSource. Login credentials are the defaults established when the instance was created.

[Visual Basic]
Function NewSession() As Session
[C#]
Session NewSession();

#### Return Value

A Session instance.

#### See Also

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