IDTSPackage100.GetObjectFromPackagePath 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Returns a package property and the object from the specified package path.
命名空間: 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
參數
- bstrPath
型別:System.String
The path to the package.
- ppProperty
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProperty100%
The object is the property that you want.
傳回值
型別:System.Object
An object that contains the information you want.
備註
This interface is implemented by the Package and PackageNeutral interfaces.