Metodo SfcDependencyEngine.Add (SfcInstance)
Adds a new single object node with no directional relation to either a parent or child node.
Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintassi
'Dichiarazione
Public Sub Add ( _
obj As SfcInstance _
)
'Utilizzo
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
)
Parametri
- obj
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
The node to be added.
Osservazioni
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.