Share via


PackageClass.GetObjectFromPackagePath Method

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

Returns an object from the specified package path.

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

Syntax

'Declaration
Public Overridable Function GetObjectFromPackagePath ( _
    bstrPath As String, _
    <OutAttribute> ByRef ppProperty As IDTSProperty100 _
) As Object
'Usage
Dim instance As PackageClass 
Dim bstrPath As String 
Dim ppProperty As IDTSProperty100 
Dim returnValue As Object 

returnValue = instance.GetObjectFromPackagePath(bstrPath, _
    ppProperty)
public virtual Object GetObjectFromPackagePath(
    string bstrPath,
    out IDTSProperty100 ppProperty
)
public:
virtual Object^ GetObjectFromPackagePath(
    [InAttribute] String^ bstrPath, 
    [OutAttribute] IDTSProperty100^% ppProperty
)
abstract GetObjectFromPackagePath : 
        bstrPath:string * 
        ppProperty:IDTSProperty100 byref -> Object  
override GetObjectFromPackagePath : 
        bstrPath:string * 
        ppProperty:IDTSProperty100 byref -> Object
public function GetObjectFromPackagePath(
    bstrPath : String, 
    ppProperty : IDTSProperty100
) : Object

Parameters

Return Value

Type: System.Object
An object from the specified package path.

Implements

IDTSPackage100.GetObjectFromPackagePath(String, IDTSProperty100%)

Remarks

For more information, see Package.

See Also

Reference

PackageClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace