共用方式為


ApplicationClass.RemoveFromSQLServer(String, String, String, String) Method

Definition

Removes a package from the specified instance of SQL Server.

public:
 virtual void RemoveFromSQLServer(System::String ^ bstrPackagePath, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::RemoveFromSQLServer;
public:
 virtual void RemoveFromSQLServer(System::String ^ bstrPackagePath, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::RemoveFromSQLServer;
[System.Runtime.InteropServices.DispId(11)]
public virtual void RemoveFromSQLServer (string bstrPackagePath, string bstrServerName, string bstrServerUserName, string bstrServerPassword);
[<System.Runtime.InteropServices.DispId(11)>]
abstract member RemoveFromSQLServer : string * string * string * string -> unit
override this.RemoveFromSQLServer : string * string * string * string -> unit
Public Overridable Sub RemoveFromSQLServer (bstrPackagePath As String, bstrServerName As String, bstrServerUserName As String, bstrServerPassword As String)

Parameters

bstrPackagePath
String

The name of the package to remove.

bstrServerName
String

The name of the instance of SQL Server.

bstrServerUserName
String

The user name to use when authenticating against the server.

bstrServerPassword
String

The password associated with the bstrServerUserName account.

Implements

Attributes

Applies to