This documentation is archived and is not being maintained.

Application.RemoveFromSqlServer Method

Removes a package from the specified instance of SQL Server.

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

void RemoveFromSqlServer (
	String^ packagePath, 
	String^ serverName, 
	String^ serverUserName, 
	String^ serverPassword
public void RemoveFromSqlServer (
	String packagePath, 
	String serverName, 
	String serverUserName, 
	String serverPassword
public function RemoveFromSqlServer (
	packagePath : String, 
	serverName : String, 
	serverUserName : String, 
	serverPassword : String



The name of the package to remove.


The name of the instance of SQL Server.


The user name to use when authenticating against the server.


The password associated with the ServerUserName account.

The following code example removes a package named myNewName that was saved previously.

No code example is currently available or this language may not be supported.

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms