IDTSObjectReferenceTracker100.AddReference 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Adds a reference to a list for reference tracking.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Sub AddReference ( _
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.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
)
參數
- ObjectNameOrID
型別:System.String
The object name or ID of the object that owns the list.
- RefType
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSObjectReferenceType
The type of reference to be tracked.
- RefListID
型別:System.Int32%
The identifier of the reference list.