Download full document:

Server.Connect Method (String, String, String)

Connects to a default AppDNA server installation on the specified machine.

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(
    string machineName,
    string userName,
    string password
)

VB

Public Shared Function Connect ( 
    machineName As String,
    userName As String,
    password As String
) As Server

Parameters

 

machineName
Type: System.String
The name or IP address of the machine hosting the AppDNA web server.
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://:8199/AppDNA/

See Also

Reference

Server Class
Connect Overload
Citrix.SDK.AppDNA Namespace