共用方式為


PackageClass.GetObjectFromPackagePath(String, IDTSProperty100) Method

Definition

Returns an object from the specified package path.

public:
 virtual System::Object ^ GetObjectFromPackagePath(System::String ^ bstrPath, [Runtime::InteropServices::Out] Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSProperty100 ^ % ppProperty) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100::GetObjectFromPackagePath;
public virtual object GetObjectFromPackagePath (string bstrPath, out Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProperty100 ppProperty);
abstract member GetObjectFromPackagePath : string * IDTSProperty100 -> obj
override this.GetObjectFromPackagePath : string * IDTSProperty100 -> obj
Public Overridable Function GetObjectFromPackagePath (bstrPath As String, ByRef ppProperty As IDTSProperty100) As Object

Parameters

bstrPath
String

The path to the package.

ppProperty
IDTSProperty100

The property of the object to retrieve.

Returns

An object from the specified package path.

Implements

Remarks

For more information, see Package.

Applies to