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

Adds a directional reference from this object to each of the target objects or keychains with the relation type and discovered state applied to each target object or keychain.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Private Sub Add(Of T As SfcInstance) ( _
    direction As SfcDependencyDirection, _
    targetObjects As IEnumerable(Of T), _
    relation As SfcTypeRelation, _
    discovered As Boolean _
) Implements ISfcDependencyDiscoveryObjectSink.Add
'Utilizzo
Dim instance As SfcDependencyEngine 
Dim direction As SfcDependencyDirection 
Dim targetObjects As IEnumerable(Of T)
Dim relation As SfcTypeRelation 
Dim discovered As Boolean 

CType(instance, ISfcDependencyDiscoveryObjectSink).Add(direction, _
    targetObjects, relation, discovered)
void ISfcDependencyDiscoveryObjectSink.Add<T>(
    SfcDependencyDirection direction,
    IEnumerable<T> targetObjects,
    SfcTypeRelation relation,
    bool discovered
)
where T : SfcInstance
private:
generic<typename T>
where T : SfcInstance 
virtual void Add(
    SfcDependencyDirection direction, 
    IEnumerable<T>^ targetObjects, 
    SfcTypeRelation relation, 
    bool discovered
) sealed = ISfcDependencyDiscoveryObjectSink::Add
private abstract Add : 
        direction:SfcDependencyDirection * 
        targetObjects:IEnumerable<'T> * 
        relation:SfcTypeRelation * 
        discovered:bool -> unit   when 'T : SfcInstance 
private override Add : 
        direction:SfcDependencyDirection * 
        targetObjects:IEnumerable<'T> * 
        relation:SfcTypeRelation * 
        discovered:bool -> unit   when 'T : SfcInstance
JScript non supporta i metodi e i tipi generici.

Parametri di tipo

  • T
    The type of the objects to be added, constrained to SfcInstance type.

Parametri

  • discovered
    Tipo: System.Boolean
    true to indicate whether the target object has been visited for discovery purposes; otherwise, false.

Implementa

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

Vedere anche

Riferimento

SfcDependencyEngine Classe

Overload Add

Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc