SaveToSQLServerAs méthode
Cette API prend en charge l'infrastructure .NET Framework et n'est pas destinée à être utilisée directement à partir de votre code.
For more information, see ApplicationClass.
Espace de noms : Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly : Microsoft.SqlServer.DTSRuntimeWrap (dans Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntaxe
'Déclaration
Sub SaveToSQLServerAs ( _
pPackage As IDTSPackage100, _
pEvents As IDTSEvents100, _
bstrPackagePath As String, _
bstrServerName As String, _
bstrServerUserName As String, _
bstrServerPassword As String _
)
'Utilisation
Dim instance As IDTSApplication100
Dim pPackage As IDTSPackage100
Dim pEvents As IDTSEvents100
Dim bstrPackagePath As String
Dim bstrServerName As String
Dim bstrServerUserName As String
Dim bstrServerPassword As String
instance.SaveToSQLServerAs(pPackage, _
pEvents, bstrPackagePath, bstrServerName, _
bstrServerUserName, bstrServerPassword)
void SaveToSQLServerAs(
IDTSPackage100 pPackage,
IDTSEvents100 pEvents,
string bstrPackagePath,
string bstrServerName,
string bstrServerUserName,
string bstrServerPassword
)
void SaveToSQLServerAs(
[InAttribute] IDTSPackage100^ pPackage,
[InAttribute] IDTSEvents100^ pEvents,
[InAttribute] String^ bstrPackagePath,
[InAttribute] String^ bstrServerName,
[InAttribute] String^ bstrServerUserName,
[InAttribute] String^ bstrServerPassword
)
abstract SaveToSQLServerAs :
pPackage:IDTSPackage100 *
pEvents:IDTSEvents100 *
bstrPackagePath:string *
bstrServerName:string *
bstrServerUserName:string *
bstrServerPassword:string -> unit
function SaveToSQLServerAs(
pPackage : IDTSPackage100,
pEvents : IDTSEvents100,
bstrPackagePath : String,
bstrServerName : String,
bstrServerUserName : String,
bstrServerPassword : String
)
Paramètres
- pPackage
Type : Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .IDTSPackage100
- bstrPackagePath
Type : System. . :: . .String
- bstrServerName
Type : System. . :: . .String
- bstrServerUserName
Type : System. . :: . .String
- bstrServerPassword
Type : System. . :: . .String