Package.GetObjectFromPackagePath 方法
Returns a package property and the object from the specified package path.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public Function GetObjectFromPackagePath ( _
packagePath As String, _
<OutAttribute> ByRef property As DtsProperty _
) As Object
'用途
Dim instance As Package
Dim packagePath As String
Dim property As DtsProperty
Dim returnValue As Object
returnValue = instance.GetObjectFromPackagePath(packagePath, _
property)
public Object GetObjectFromPackagePath(
string packagePath,
out DtsProperty property
)
public:
Object^ GetObjectFromPackagePath(
String^ packagePath,
[OutAttribute] DtsProperty^% property
)
member GetObjectFromPackagePath :
packagePath:string *
property:DtsProperty byref -> Object
public function GetObjectFromPackagePath(
packagePath : String,
property : DtsProperty
) : Object
參數
- packagePath
型別:System.String
The path to the package.
- property
型別:Microsoft.SqlServer.Dts.Runtime.DtsProperty%
The object is the property that you want. This is an out parameter.
傳回值
型別:System.Object
A package property and the object from the specified package path.