共用方式為


GetObjectFromPackagePath 方法

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

This interface is implemented by the Package and PackageNeutral interfaces.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Function GetObjectFromPackagePath ( _
    bstrPath As String, _
    <OutAttribute> ByRef ppProperty As IDTSProperty100 _
) As Object
'用途
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

傳回值

型別:System. . :: . .Object