Méthode SfcDependencyEngine.Add (SfcInstance)
Adds a new single object node with no directional relation to either a parent or child node.
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 ( _
obj As SfcInstance _
)
'Utilisation
Dim instance As SfcDependencyEngine
Dim obj As SfcInstance
instance.Add(obj)
public void Add(
SfcInstance obj
)
public:
void Add(
SfcInstance^ obj
)
member Add :
obj:SfcInstance -> unit
public function Add(
obj : SfcInstance
)
Paramètres
- obj
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
The node to be added.
Notes
If the node already exists in the graph any existing relations will not be disturbed since Add() always augments but never detracts. A node can be added multiple times as a parent, child or single node in successive calls.