SfcDependencyEngine.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Add(SfcInstance) |
Add a new single object node with no directional relation to either a parent or child node. If the node already exists in ther graph any existing relations will not be disturbed since Add() always only augments but never detracts. A node can be added multiple times as a parent, child or single node in successive calls. |
Add(SfcInstance, SfcInstance, SfcTypeRelation) |
Add a new tuple relation of a parent node and its child node which depends on it. A node can be added multiple times as a parent, child or single node in successive calls. |
Add(SfcInstance)
Add a new single object node with no directional relation to either a parent or child node. If the node already exists in ther graph any existing relations will not be disturbed since Add() always only augments but never detracts. A node can be added multiple times as a parent, child or single node in successive calls.
public void Add (Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance obj);
member this.Add : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance -> unit
Public Sub Add (obj As SfcInstance)
Parameters
- obj
- SfcInstance
The single node.
Applies to
Add(SfcInstance, SfcInstance, SfcTypeRelation)
Add a new tuple relation of a parent node and its child node which depends on it. A node can be added multiple times as a parent, child or single node in successive calls.
public void Add (Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance objParent, Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance objChild, Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation relation);
member this.Add : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance * Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance * Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation -> unit
Public Sub Add (objParent As SfcInstance, objChild As SfcInstance, relation As SfcTypeRelation)
Parameters
- objParent
- SfcInstance
The parent node of the dependent child node.
- objChild
- SfcInstance
The child node dependent on the existence of the parent node.
- relation
- SfcTypeRelation