Share via


Package.GetObjectFromPackagePath Method

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

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Declaration
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 does not support passing value-type arguments by reference.

Parameters

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

Return Value

An object that contains the information you want.

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 2005.

Target Platforms

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

See Also

Reference

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