SqlExecutionException.SqlExecutionException(String, String, String, String, String, SqlException) Constructor

Initializes a new instance of the SqlExecutionException class.

Namespace: System.Web.Management
Assembly: System.Web (in system.web.dll)

public:
SqlExecutionException (
	String^ message, 
	String^ server, 
	String^ database, 
	String^ sqlFile, 
	String^ commands, 
	SqlException^ sqlException
)
public SqlExecutionException (
	String message, 
	String server, 
	String database, 
	String sqlFile, 
	String commands, 
	SqlException sqlException
)
public function SqlExecutionException (
	message : String, 
	server : String, 
	database : String, 
	sqlFile : String, 
	commands : String, 
	sqlException : SqlException
)
Not applicable.

Parameters

message

The error message that explains the reason for the exception.

server

The SQL Server instance against which the SQL commands are run.

database

The database against which the SQL commands are run.

sqlFile

The name of the installation file containing the SQL commands being run.

commands

The SQL commands being run when the exception occurred.

sqlException

The SqlException encountered when processing the SQL commands.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: