Dela via


ISfcDependencyDiscoveryObjectSink.Add Method (SfcDependencyDirection, SfcInstance, SfcTypeRelation, Boolean)

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
Sub Add ( _
    direction As SfcDependencyDirection, _
    targetObject As SfcInstance, _
    relation As SfcTypeRelation, _
    discovered As Boolean _
)
'Usage
Dim instance As ISfcDependencyDiscoveryObjectSink
Dim direction As SfcDependencyDirection
Dim targetObject As SfcInstance
Dim relation As SfcTypeRelation
Dim discovered As Boolean

instance.Add(direction, targetObject, _
    relation, discovered)
void Add(
    SfcDependencyDirection direction,
    SfcInstance targetObject,
    SfcTypeRelation relation,
    bool discovered
)
void Add(
    SfcDependencyDirection direction, 
    SfcInstance^ targetObject, 
    SfcTypeRelation relation, 
    bool discovered
)
abstract Add : 
        direction:SfcDependencyDirection * 
        targetObject:SfcInstance * 
        relation:SfcTypeRelation * 
        discovered:bool -> unit 
function Add(
    direction : SfcDependencyDirection, 
    targetObject : SfcInstance, 
    relation : SfcTypeRelation, 
    discovered : boolean
)

Parameters

  • discovered
    Type: System.Boolean
    true to the object that has been discovered; otherwise, false.