SfcDependencyEngine.ISfcDependencyDiscoveryObjectSink.Add Method (SfcDependencyDirection, SfcInstance, SfcTypeRelation, Boolean)
Adds the objects to compare in the relation. 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
Private Sub Add ( _
direction As SfcDependencyDirection, _
targetObject As SfcInstance, _
relation As SfcTypeRelation, _
discovered As Boolean _
) Implements ISfcDependencyDiscoveryObjectSink.Add
'Usage
Dim instance As SfcDependencyEngine
Dim direction As SfcDependencyDirection
Dim targetObject As SfcInstance
Dim relation As SfcTypeRelation
Dim discovered As Boolean
CType(instance, ISfcDependencyDiscoveryObjectSink).Add(direction, _
targetObject, relation, discovered)
void ISfcDependencyDiscoveryObjectSink.Add(
SfcDependencyDirection direction,
SfcInstance targetObject,
SfcTypeRelation relation,
bool discovered
)
private:
virtual void Add(
SfcDependencyDirection direction,
SfcInstance^ targetObject,
SfcTypeRelation relation,
bool discovered
) sealed = ISfcDependencyDiscoveryObjectSink::Add
private abstract Add :
direction:SfcDependencyDirection *
targetObject:SfcInstance *
relation:SfcTypeRelation *
discovered:bool -> unit
private override Add :
direction:SfcDependencyDirection *
targetObject:SfcInstance *
relation:SfcTypeRelation *
discovered:bool -> unit
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- direction
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDirection
The direction of the targeted object in the relation.
- targetObject
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
The calling object that acts in the relation.
- relation
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation
The relation between the parent and child object.
- discovered
Type: System.Boolean
true to discovered the relation; otherwise, false.
Implements
ISfcDependencyDiscoveryObjectSink.Add(SfcDependencyDirection, SfcInstance, SfcTypeRelation, Boolean)