Set the default server to the specified server for subsequent function calls that do not specify a server.
Namespace:
T.Toolkit
Assembly: T.Toolkit (in T.Toolkit.dll)
Assembly: T.Toolkit (in T.Toolkit.dll)
Parameters
- serverName
-
Type: string
IP address or server name
- userName
-
Type: string
User name
- password
-
Type: string
User password
- useWindowsAuthentication
-
Type: bool
Flag indicating whether connection must use Windows Authentication
- server
-
Type: object
Reference to server
Return Value
String containg error message or null (success)Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.