SfcDependencyEngine.Add Method (SfcInstance, SfcInstance, SfcTypeRelation)
Adds a new tuple relation of a parent node and its child node which depends on it. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Sub Add ( _
objParent As SfcInstance, _
objChild As SfcInstance, _
relation As SfcTypeRelation _
)
'Usage
Dim instance As SfcDependencyEngine
Dim objParent As SfcInstance
Dim objChild As SfcInstance
Dim relation As SfcTypeRelation
instance.Add(objParent, objChild, relation)
public void Add(
SfcInstance objParent,
SfcInstance objChild,
SfcTypeRelation relation
)
public:
void Add(
SfcInstance^ objParent,
SfcInstance^ objChild,
SfcTypeRelation relation
)
member Add :
objParent:SfcInstance *
objChild:SfcInstance *
relation:SfcTypeRelation -> unit
public function Add(
objParent : SfcInstance,
objChild : SfcInstance,
relation : SfcTypeRelation
)
Parameters
- objParent
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
The parent node of the dependent child node.
- objChild
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
The child node dependent on the existence of the parent node.
- relation
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation
The type of the relation of the nodes.