Partager via


Méthode Add (SfcInstance, SfcInstance, SfcTypeRelation)

Adds a new tuple relation of a parent node and its child node which depends on it. 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
Public Sub Add ( _
    objParent As SfcInstance, _
    objChild As SfcInstance, _
    relation As SfcTypeRelation _
)
'Utilisation
Dim instance As SfcDependencyEngine
Dim objParent As SfcInstance
Dim objChild As SfcInstance
Dim relation As SfcTypeRelation

instance.Add(objParent, objChild, relation)
public void Add(
    SfcInstance objParent,
    SfcInstance objChild,
    SfcTypeRelation relation
)
public:
void Add(
    SfcInstance^ objParent, 
    SfcInstance^ objChild, 
    SfcTypeRelation relation
)
member Add : 
        objParent:SfcInstance * 
        objChild:SfcInstance * 
        relation:SfcTypeRelation -> unit 
public function Add(
    objParent : SfcInstance, 
    objChild : SfcInstance, 
    relation : SfcTypeRelation
)

Paramètres