Metodo IDTSApplication100.RemoveFromSQLServer

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

Removes a package from the specified instance of SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintassi

'Dichiarazione
Sub RemoveFromSQLServer ( _
    bstrPackagePath As String, _
    bstrServerName As String, _
    bstrServerUserName As String, _
    bstrServerPassword As String _
)
'Utilizzo
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
)

Parametri

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

Vedere anche

Riferimento

IDTSApplication100 Interfaccia

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper