Share via


IDTSObjectReferenceTracker100.AddReference Method

Definition

Adds a reference to a list for reference tracking.

public:
 void AddReference(System::String ^ ObjectNameOrID, Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSObjectReferenceType RefType, [Runtime::InteropServices::Out] int % RefListID);
[System.Runtime.InteropServices.DispId(1610743808)]
public void AddReference (string ObjectNameOrID, Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSObjectReferenceType RefType, out int RefListID);
[<System.Runtime.InteropServices.DispId(1610743808)>]
abstract member AddReference : string * Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSObjectReferenceType * int -> unit
Public Sub AddReference (ObjectNameOrID As String, RefType As DTSObjectReferenceType, ByRef RefListID As Integer)

Parameters

ObjectNameOrID
String

The object name or ID of the object that owns the list.

RefType
DTSObjectReferenceType

The type of reference to be tracked.

RefListID
Int32

The identifier of the reference list.

Attributes

Applies to