xSQL Schema Compare SDK version 9.5 for SQL Server
SqlServer Constructor(String,String,String)


The name of the SQL Server instance.
The username to connect to SQL Server.
The username to connect to SQL Server.
Initializes a new instance of SqlServer class with the specified name, username and password.
Syntax
'Declaration
 
Public Function New( _
   ByVal serverName As System.String, _
   ByVal username As System.String, _
   ByVal password As System.String _
)
public SqlServer( 
   System.string serverName,
   System.string username,
   System.string password
)
public: SqlServer( 
   System.string* serverName,
   System.string* username,
   System.string* password
)

Parameters

serverName
The name of the SQL Server instance.
username
The username to connect to SQL Server.
password
The username to connect to SQL Server.
Exceptions
ExceptionDescription
System.ArgumentNullException

The serverName parameter is null or empty

or

The username parameter is null or empty

or

The password parameter is null or empty

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SqlServer Class
SqlServer Members
Overload List

 

 


┬ęCopyright 2018 xSQL Software. All Rights Reserved.

Send Feedback