Condividi tramite


Metodo AddReference

Questa API supporta l'infrastruttura e non può essere utilizzata direttamente dal codice.

For more information, see ObjectReferenceTracker.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintassi

'Dichiarazione
Sub AddReference ( _
    ObjectNameOrID As String, _
    RefType As DTSObjectReferenceType, _
    <OutAttribute> ByRef RefListID As Integer _
)
'Utilizzo
Dim instance As IDTSObjectReferenceTracker100
Dim ObjectNameOrID As String
Dim RefType As DTSObjectReferenceType
Dim RefListID As Integer

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