Freigeben über


AddShadow-Methode

Adds the specified object to the shadow collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

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

Parameter

Rückgabewert

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

Hinweise

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