Udostępnij przez


IDTSApplication100.LoadPackage Method

This method supports the SQL Server 2008 infrastructure and is not intended to be used directly from your code.

For more information, see ApplicationClass.

Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in microsoft.sqlserver.dtsruntimewrap.dll)

Syntax

'Deklaracja
<DispIdAttribute(9)> _
Function LoadPackage ( _
    <InAttribute> FileName As String, _
    <InAttribute> loadNeutral As Boolean, _
    <InAttribute> pEvents As IDTSEvents100 _
) As IDTSPackage100
[DispIdAttribute(9)] 
IDTSPackage100 LoadPackage (
    [InAttribute] string FileName,
    [InAttribute] bool loadNeutral,
    [InAttribute] IDTSEvents100 pEvents
)
[DispIdAttribute(9)] 
IDTSPackage100^ LoadPackage (
    [InAttribute] String^ FileName, 
    [InAttribute] bool loadNeutral, 
    [InAttribute] IDTSEvents100^ pEvents
)
/** @attribute DispIdAttribute(9) */ 
IDTSPackage100 LoadPackage (
    /** @attribute InAttribute() */ String FileName, 
    /** @attribute InAttribute() */ boolean loadNeutral, 
    /** @attribute InAttribute() */ IDTSEvents100 pEvents
)
DispIdAttribute(9) 
function LoadPackage (
    FileName : String, 
    loadNeutral : boolean, 
    pEvents : IDTSEvents100
) : IDTSPackage100

Parameters

  • FileName
  • loadNeutral
  • pEvents

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.