Méthode AddShadow

Adds the specified object to the shadow collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Function AddShadow ( _
    sfcInstance As SfcInstance _
) As Boolean
'Utilisation
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

Paramètres

Valeur de retour

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

Notes

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