Compartir a través de


SfcDependencyEngine.ISfcDependencyDiscoveryObjectSink.Add Método (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.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
Private Sub Add(Of T As SfcInstance) ( _
    direction As SfcDependencyDirection, _
    targetObjects As IEnumerable(Of T), _
    relation As SfcTypeRelation, _
    discovered As Boolean _
) Implements ISfcDependencyDiscoveryObjectSink.Add
'Uso
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 no admite tipos y métodos genéricos.

Parámetros de tipo

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

Parámetros

  • 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)

Vea también

Referencia

SfcDependencyEngine Clase

Sobrecarga de Add

Espacio de nombres Microsoft.SqlServer.Management.Sdk.Sfc