Share via


Package.GetObjectFromPackagePath(String, DtsProperty) Method

Definition

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

public:
 System::Object ^ GetObjectFromPackagePath(System::String ^ packagePath, [Runtime::InteropServices::Out] Microsoft::SqlServer::Dts::Runtime::DtsProperty ^ % property);
public object GetObjectFromPackagePath (string packagePath, out Microsoft.SqlServer.Dts.Runtime.DtsProperty property);
member this.GetObjectFromPackagePath : string * DtsProperty -> obj
Public Function GetObjectFromPackagePath (packagePath As String, ByRef property As DtsProperty) As Object

Parameters

packagePath
String

The path to the package.

property
DtsProperty

The object is the property that you want. This is an out parameter.

Returns

A package property and the object from the specified package path.

Applies to