Add-Methode (SfcInstance, SfcInstance, SfcTypeRelation)
Adds a new tuple relation of a parent node and its child node which depends on it. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
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
)
Parameter
- objParent
Typ: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
The parent node of the dependent child node.
- objChild
Typ: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
The child node dependent on the existence of the parent node.
- relation
Typ: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcTypeRelation
The type of the relation of the nodes.