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