GetObjectByID 方法
Retrieves an IDTSOutput100 object that has the specified ID.
命名空间: Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集: Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
语法
声明
Function GetObjectByID ( _
lID As Integer _
) As IDTSOutput100
用法
Dim instance As IDTSOutputCollection100
Dim lID As Integer
Dim returnValue As IDTSOutput100
returnValue = instance.GetObjectByID(lID)
IDTSOutput100 GetObjectByID(
int lID
)
IDTSOutput100^ GetObjectByID(
[InAttribute] int lID
)
abstract GetObjectByID :
lID:int -> IDTSOutput100
function GetObjectByID(
lID : int
) : IDTSOutput100
参数
- lID
类型:System. . :: . .Int32
The ID of the output to retrieve from the collection.
返回值
类型:Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSOutput100
The IDTSInput100 object that has the specified ID.
注释
If an output with the specified ID is not found in the collection, a Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_OBJECTNOTFOUND exception is thrown.