Partager via


Méthode IDTSApplication100.RemoveFromSQLServer

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Removes a package from the specified instance of SQL Server.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Sub RemoveFromSQLServer ( _
    bstrPackagePath As String, _
    bstrServerName As String, _
    bstrServerUserName As String, _
    bstrServerPassword As String _
)
'Utilisation
Dim instance As IDTSApplication100 
Dim bstrPackagePath As String 
Dim bstrServerName As String 
Dim bstrServerUserName As String 
Dim bstrServerPassword As String

instance.RemoveFromSQLServer(bstrPackagePath, _
    bstrServerName, bstrServerUserName, _
    bstrServerPassword)
void RemoveFromSQLServer(
    string bstrPackagePath,
    string bstrServerName,
    string bstrServerUserName,
    string bstrServerPassword
)
void RemoveFromSQLServer(
    [InAttribute] String^ bstrPackagePath, 
    [InAttribute] String^ bstrServerName, 
    [InAttribute] String^ bstrServerUserName, 
    [InAttribute] String^ bstrServerPassword
)
abstract RemoveFromSQLServer : 
        bstrPackagePath:string * 
        bstrServerName:string * 
        bstrServerUserName:string * 
        bstrServerPassword:string -> unit
function RemoveFromSQLServer(
    bstrPackagePath : String, 
    bstrServerName : String, 
    bstrServerUserName : String, 
    bstrServerPassword : String
)

Paramètres

  • bstrPackagePath
    Type : System.String
    The name of the package to remove.
  • bstrServerName
    Type : System.String
    The name of the instance of SQL Server.
  • bstrServerUserName
    Type : System.String
    The user name to use when authenticating against the server.
  • bstrServerPassword
    Type : System.String
    The password associated with the bstrServerUserName account.

Voir aussi

Référence

IDTSApplication100 Interface

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper