Partager via


Package.GetObjectFromPackagePath Method

Returns a package property and the object from the specified package path.

Espace de noms: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntaxe

'Déclaration
Public Function GetObjectFromPackagePath ( _
    packagePath As String, _
    <OutAttribute> ByRef property As DtsProperty _
) As Object
public Object GetObjectFromPackagePath (
    string packagePath,
    out DtsProperty property
)
public:
Object^ GetObjectFromPackagePath (
    String^ packagePath, 
    [OutAttribute] DtsProperty^% property
)
public Object GetObjectFromPackagePath (
    String packagePath, 
    /** @attribute OutAttribute() */ /** @ref */ DtsProperty property
)
JScript ne prend pas en charge le passage d'arguments de type valeur par référence.

Paramètres

  • packagePath
    The path to the package.
  • property
    The object is the property that you want. This is an out parameter.

Valeur de retour

An object that contains the information you want.

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

Package Class
Package Members
Microsoft.SqlServer.Dts.Runtime Namespace