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)

member RemoveFromSqlServer : 
        packagePath:string * 
        serverName:string * 
        serverUserName:string * 
        serverPassword:string -> unit 

Parameters

packagePath
Type: System.String
The name of the package to remove.
serverName
Type: System.String
The name of the instance of SQL Server.
serverUserName
Type: System.String
The SQL Server login name if you use SQL Server Authentication to log into the server; otherwise, a null reference (Nothing in Visual Basic) if you use Windows Authentication.
serverPassword
Type: System.String
The SQL Server login password if you use SQL Server Authentication to log into the server; otherwise, a null reference (Nothing in Visual Basic) if you use Windows Authentication.

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.

Community Additions

ADD
Show: