Méthode ISfcCollection.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
Private Function AddShadow ( _
    sfcInstance As SfcInstance _
) As Boolean Implements ISfcCollection.AddShadow
'Utilisation
Dim instance As SfcCollection
Dim sfcInstance As SfcInstance
Dim returnValue As Boolean

returnValue = CType(instance, ISfcCollection).AddShadow(sfcInstance)
bool ISfcCollection.AddShadow(
    SfcInstance sfcInstance
)
private:
virtual bool AddShadow(
    SfcInstance^ sfcInstance
) sealed = ISfcCollection::AddShadow
private abstract AddShadow : 
        sfcInstance:SfcInstance -> bool 
private override AddShadow : 
        sfcInstance:SfcInstance -> bool 
JScript prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.

Paramètres

Valeur de retour

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

Implémente

ISfcCollection. . :: . .AddShadow(SfcInstance)

Notes

This method is used only during merging. For more information, see the ISfcCollection..::..PrepareMerge and ISfcCollection..::..FinishMerge methods.