Server.Connect Method (Uri, String, String, String)¶
Connects to a specific AppDNA database served by the AppDNA server instance at a given URI.
Namespace: Citrix.SDK.AppDNA
Assembly: Citrix.SDK.AppDNA (in Citrix.SDK.AppDNA.dll) Version: 7.11.0.0 (7.11.0.0)
Syntax¶
C¶
public static Server Connect(
Uri serverUrl,
string databaseIdentifier,
string userName,
string password
)
VB¶
Public Shared Function Connect (
serverUrl As Uri,
databaseIdentifier As String,
userName As String,
password As String
) As Server
Parameters¶
- serverUrl
- Type: System.Uri
The Uri of the required AppDNA web server. - databaseIdentifier
- Type: System.String
The database identifier for the AppDNA database. This database must be configured on the AppDNA server at serverUrl using the AppDNAConfuigurationWizard. A database identifier is of the form ": ". - userName
- Type: System.String
The AppDNA user name to connect as. - password
- Type: System.String
The password of the user specified by userName.
Return Value¶
Type: Server
A server which is used when calling many functions in the SDK.
Remarks¶
This version of the function connects to the default database (AppDNA), on the SQLServer instance that responds to "localhost" on the server that responds to http://