Share via


IDTSPackage100.GetObjectFromPackagePath Method

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

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

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

Syntax

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

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

Parameters

Return Value

Type: System.Object
An object that contains the information you want.

Remarks

This interface is implemented by the Package and PackageNeutral interfaces.

See Also

Reference

IDTSPackage100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace