PackageClass.GetObjectFromPackagePath 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Returns an object from the specified package path.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Public Overridable Function GetObjectFromPackagePath ( _
bstrPath As String, _
<OutAttribute> ByRef ppProperty As IDTSProperty100 _
) As Object
'用途
Dim instance As PackageClass
Dim bstrPath As String
Dim ppProperty As IDTSProperty100
Dim returnValue As Object
returnValue = instance.GetObjectFromPackagePath(bstrPath, _
ppProperty)
public virtual Object GetObjectFromPackagePath(
string bstrPath,
out IDTSProperty100 ppProperty
)
public:
virtual Object^ GetObjectFromPackagePath(
[InAttribute] String^ bstrPath,
[OutAttribute] IDTSProperty100^% ppProperty
)
abstract GetObjectFromPackagePath :
bstrPath:string *
ppProperty:IDTSProperty100 byref -> Object
override GetObjectFromPackagePath :
bstrPath:string *
ppProperty:IDTSProperty100 byref -> Object
public function GetObjectFromPackagePath(
bstrPath : String,
ppProperty : IDTSProperty100
) : Object
參數
- bstrPath
型別:System.String
The path to the package.
- ppProperty
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProperty100%
The property of the object to retrieve.
傳回值
型別:System.Object
An object from the specified package path.
實作
IDTSPackage100.GetObjectFromPackagePath(String, IDTSProperty100%)
備註
For more information, see Package.