| MarkLogic XCC/.Net Library |
|
ContentSource.NewSession Method (String, String, String)
Attempts to establish a Session with the specified contentbase on the server represented by this ContentSource, using the provided user credentials.
[Visual Basic]
Function NewSession( _
ByVal
userName As
String, _
ByVal
password As
String, _
ByVal
contentbaseId As
String _
) As
Session
Parameters
-
userName
- The user name to connect as.
-
password
- The password associated with the user name.
-
contentbaseId
- A contentbase name or numeric ID.
Return Value
A Session instance.
See Also
ContentSource Interface | Marklogic.Xcc Namespace | ContentSource.NewSession Overload List