Compartilhar via


Método ISfcDependencyDiscoveryObjectSink.Add (SfcDependencyDirection, SfcInstance, SfcTypeRelation, Boolean)

Adds the objects to compare in the relation. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

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

Sintaxe

'Declaração
Private Sub Add ( _
    direction As SfcDependencyDirection, _
    targetObject As SfcInstance, _
    relation As SfcTypeRelation, _
    discovered As Boolean _
) Implements ISfcDependencyDiscoveryObjectSink.Add
'Uso
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Parâmetros

Implementa

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