Partager via


Exec80PackageTask.EmbedPackage Method (String, String, String, Int32, Boolean, String, String, String, String)

Embeds the package inside of the Exec80PackageTask.

Espace de noms: Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Assembly: Microsoft.SqlServer.Exec80PackageTask (in microsoft.sqlserver.exec80packagetask.dll)

Syntaxe

'Déclaration
Public Function EmbedPackage ( _
    Filename As String, _
    sourceUser As String, _
    sourcePassword As String, _
    SourceType As Integer, _
    bUseTrustedConnection As Boolean, _
    PackageName As String, _
    PackagePassword As String, _
    PackageID As String, _
    PackageVersionGUID As String _
) As Package
public Package EmbedPackage (
    string Filename,
    string sourceUser,
    string sourcePassword,
    int SourceType,
    bool bUseTrustedConnection,
    string PackageName,
    string PackagePassword,
    string PackageID,
    string PackageVersionGUID
)
public:
Package^ EmbedPackage (
    String^ Filename, 
    String^ sourceUser, 
    String^ sourcePassword, 
    int SourceType, 
    bool bUseTrustedConnection, 
    String^ PackageName, 
    String^ PackagePassword, 
    String^ PackageID, 
    String^ PackageVersionGUID
)
public Package EmbedPackage (
    String Filename, 
    String sourceUser, 
    String sourcePassword, 
    int SourceType, 
    boolean bUseTrustedConnection, 
    String PackageName, 
    String PackagePassword, 
    String PackageID, 
    String PackageVersionGUID
)
public function EmbedPackage (
    Filename : String, 
    sourceUser : String, 
    sourcePassword : String, 
    SourceType : int, 
    bUseTrustedConnection : boolean, 
    PackageName : String, 
    PackagePassword : String, 
    PackageID : String, 
    PackageVersionGUID : String
) : Package

Paramètres

  • Filename
    The name of the file.
  • sourceUser
    The uername to use for the SQL Server.
  • sourcePassword
    If the SQL Server 2000 DTS package is password protected, provide the password.
  • bUseTrustedConnection
    true indicates that Windows Authentication is used.
  • PackageName
    The name of the package.
  • PackagePassword
    The package password if it has a password on it.
  • PackageID
    The unique identifier of the package.
  • PackageVersionGUID
    The identifier for the package version.

Valeur de retour

A Package object.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

Exec80PackageTask Class
Exec80PackageTask Members
Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask Namespace