Partilhar via


Método SfcDependencyEngine.Add (SfcInstance)

Adds a new single object node with no directional relation to either a parent or child node.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Public Sub Add ( _
    obj As SfcInstance _
)
'Uso
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
)

Parâmetros

Comentários

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.

Consulte também

Referência

SfcDependencyEngine Classe

Sobrecarregado Add

Namespace Microsoft.SqlServer.Management.Sdk.Sfc