Share via


SfcDependencyEngine.Add Method (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 (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Sub Add ( _
    obj As SfcInstance _
)
'Usage
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
)

Parameters

Remarks

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.

See Also

Reference

SfcDependencyEngine Class

Add Overload

Microsoft.SqlServer.Management.Sdk.Sfc Namespace