共用方式為


AddShadow 方法

Adds the specified object to the shadow collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Protected Overrides Function AddShadow ( _
    obj As T _
) As Boolean
'用途
Dim obj As T
Dim returnValue As Boolean

returnValue = Me.AddShadow(obj)
protected override bool AddShadow(
    T obj
)
protected:
virtual bool AddShadow(
    T obj
) override
abstract AddShadow : 
        obj:'T -> bool 
override AddShadow : 
        obj:'T -> bool 
protected override function AddShadow(
    obj : T
) : boolean

參數

  • obj
    型別:T
    The object to add to the shadow collection.

傳回值

型別:System. . :: . .Boolean
true if the object was successfully added; otherwise, false.

備註

This method is used only during merging (see the PrepareMerge and FinishMerge methods for more information).