共用方式為


IDTSObjectReferenceTracker100.RemoveReference 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Removes a reference from an existing list.

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

語法

'宣告
Sub RemoveReference ( _
    ObjectNameOrID As String, _
    RefType As DTSObjectReferenceType, _
    <OutAttribute> ByRef RefListID As Integer _
)
'用途
Dim instance As IDTSObjectReferenceTracker100 
Dim ObjectNameOrID As String 
Dim RefType As DTSObjectReferenceType 
Dim RefListID As Integer

instance.RemoveReference(ObjectNameOrID, _
    RefType, RefListID)
void RemoveReference(
    string ObjectNameOrID,
    DTSObjectReferenceType RefType,
    out int RefListID
)
void RemoveReference(
    [InAttribute] String^ ObjectNameOrID, 
    [InAttribute] DTSObjectReferenceType RefType, 
    [InAttribute] [OutAttribute] int% RefListID
)
abstract RemoveReference : 
        ObjectNameOrID:string * 
        RefType:DTSObjectReferenceType * 
        RefListID:int byref -> unit
function RemoveReference(
    ObjectNameOrID : String, 
    RefType : DTSObjectReferenceType, 
    RefListID : int
)

參數

  • ObjectNameOrID
    型別:System.String
    The object name or identifier to remove from the tracking list.
  • RefListID
    型別:System.Int32%
    The list identifier in which the object to remove is currently located.

請參閱

參考

IDTSObjectReferenceTracker100 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間