xSQL.Schema.SqlServer Namespace > SqlServer Class > SqlServer Constructor : SqlServer Constructor(String,String) |
'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 )
Exception | Description |
---|---|
System.ArgumentNullException | The serverName parameter is null or The connectionString parameter is null |
System.ArgumentException | The serverName parameter is an empty string or The connectionString parameter is an empty string |
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