Sdílet prostřednictvím


ISfcDependencyDiscoveryObjectSink.Add<T> Method (SfcDependencyDirection, IEnumerable<T>, SfcTypeRelation, Boolean)

Add a directional reference from this object to each of the target objects or key chains.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Sub Add(Of T As SfcInstance) ( _
    direction As SfcDependencyDirection, _
    targetObjects As IEnumerable(Of T), _
    relation As SfcTypeRelation, _
    discovered As Boolean _
)
'Usage
Dim instance As ISfcDependencyDiscoveryObjectSink 
Dim direction As SfcDependencyDirection 
Dim targetObjects As IEnumerable(Of T)
Dim relation As SfcTypeRelation 
Dim discovered As Boolean

instance.Add(direction, targetObjects, _
    relation, discovered)
void Add<T>(
    SfcDependencyDirection direction,
    IEnumerable<T> targetObjects,
    SfcTypeRelation relation,
    bool discovered
)
where T : SfcInstance
generic<typename T>
where T : SfcInstance 
void Add(
    SfcDependencyDirection direction, 
    IEnumerable<T>^ targetObjects, 
    SfcTypeRelation relation, 
    bool discovered
)
abstract Add : 
        direction:SfcDependencyDirection * 
        targetObjects:IEnumerable<'T> * 
        relation:SfcTypeRelation * 
        discovered:bool -> unit   when 'T : SfcInstance
JScript does not support generic types and methods.

Type Parameters

  • T
    The SfcInstance.

Parameters

  • discovered
    Type: System.Boolean
    True to manage the discovered state of the specified object; otherwise, false.

See Also

Reference

ISfcDependencyDiscoveryObjectSink Interface

Add Overload

Microsoft.SqlServer.Management.Sdk.Sfc Namespace