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
'Usage
Dim instance As Package 
Dim packagePath As String 
Dim property As DtsProperty 
Dim returnValue As Object 

returnValue = instance.GetObjectFromPackagePath(packagePath, _
    property)
public Object GetObjectFromPackagePath(
    string packagePath,
    out DtsProperty property
)
public:
Object^ GetObjectFromPackagePath(
    String^ packagePath, 
    [OutAttribute] DtsProperty^% property
)
member GetObjectFromPackagePath : 
        packagePath:string * 
        property:DtsProperty byref -> Object
public function GetObjectFromPackagePath(
    packagePath : String, 
    property : DtsProperty
) : Object

Parameters

Return Value

Type: System.Object
A package property and the object from the specified package path.

See Also

Reference

Package Class

Microsoft.SqlServer.Dts.Runtime Namespace