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


The name of SQL Server instance.
The connection string that contains the credentials and other settings.
Initializes a new instance of SqlServer class from the specified name and connection string.
Syntax
'Declaration
 
Public Function New( _
   ByVal serverName As System.String, _
   ByVal connectionString As System.String _
)
public SqlServer( 
   System.string serverName,
   System.string connectionString
)
public: SqlServer( 
   System.string* serverName,
   System.string* connectionString
)

Parameters

serverName
The name of SQL Server instance.
connectionString
The connection string that contains the credentials and other settings.
Exceptions
ExceptionDescription
System.ArgumentNullException

The serverName parameter is null or empty

or

The connectionString 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