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