次の方法で共有


LoadFromSQLServer メソッド

この API は、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

詳細については、「ApplicationClass」を参照してください。

名前空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
アセンブリ:  Microsoft.SqlServer.DTSRuntimeWrap (Microsoft.SqlServer.DTSRuntimeWrap.dll)

構文

'宣言
Function LoadFromSQLServer ( _
    bstrPackagePath As String, _
    bstrServerName As String, _
    bstrServerUserName As String, _
    bstrServerPassword As String, _
    bLoadNeutral As Boolean, _
    pEvents As IDTSEvents100 _
) As IDTSPackage100
'使用
Dim instance As IDTSApplication100
Dim bstrPackagePath As String
Dim bstrServerName As String
Dim bstrServerUserName As String
Dim bstrServerPassword As String
Dim bLoadNeutral As Boolean
Dim pEvents As IDTSEvents100
Dim returnValue As IDTSPackage100

returnValue = instance.LoadFromSQLServer(bstrPackagePath, _
    bstrServerName, bstrServerUserName, _
    bstrServerPassword, bLoadNeutral, _
    pEvents)
IDTSPackage100 LoadFromSQLServer(
    string bstrPackagePath,
    string bstrServerName,
    string bstrServerUserName,
    string bstrServerPassword,
    bool bLoadNeutral,
    IDTSEvents100 pEvents
)
IDTSPackage100^ LoadFromSQLServer(
    [InAttribute] String^ bstrPackagePath, 
    [InAttribute] String^ bstrServerName, 
    [InAttribute] String^ bstrServerUserName, 
    [InAttribute] String^ bstrServerPassword, 
    [InAttribute] bool bLoadNeutral, 
    [InAttribute] IDTSEvents100^ pEvents
)
abstract LoadFromSQLServer : 
        bstrPackagePath:string * 
        bstrServerName:string * 
        bstrServerUserName:string * 
        bstrServerPassword:string * 
        bLoadNeutral:bool * 
        pEvents:IDTSEvents100 -> IDTSPackage100 
function LoadFromSQLServer(
    bstrPackagePath : String, 
    bstrServerName : String, 
    bstrServerUserName : String, 
    bstrServerPassword : String, 
    bLoadNeutral : boolean, 
    pEvents : IDTSEvents100
) : IDTSPackage100

パラメーター