Share via


ISfcCollection.AddShadow Method

Adds the specified object to the shadow collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Function AddShadow ( _
    sfcInstance As SfcInstance _
) As Boolean
'Usage
Dim instance As ISfcCollection
Dim sfcInstance As SfcInstance
Dim returnValue As Boolean

returnValue = instance.AddShadow(sfcInstance)
bool AddShadow(
    SfcInstance sfcInstance
)
bool AddShadow(
    SfcInstance^ sfcInstance
)
abstract AddShadow : 
        sfcInstance:SfcInstance -> bool 
function AddShadow(
    sfcInstance : SfcInstance
) : boolean

Parameters

Return Value

Type: System.Boolean
A Boolean which is true if the item is successfully added to the collection; otherwise, false.

Remarks

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