Assembly: T.Toolkit (in T.Toolkit.dll)
Public Function SetServer( _
ByVal serverName As String, _
ByVal serverName2 As String, _
ByVal userName As String, _
ByVal password As String, _
ByVal useWindowsAuthentication As Boolean, _
ByRef server As Object _
) As String Implements _
IDataAccess.SetServer
This language is not supported or no code example is available.
Parameters
- serverName
-
Type: string
IP address or server name
- serverName2
-
Type: string
Secondary 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.