Metodo SfcDependencyEngine.ISfcDependencyDiscoveryObjectSink.Add (SfcDependencyDirection, IEnumerator, 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. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.
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 ( _
direction As SfcDependencyDirection, _
targetObjects As IEnumerator, _
relation As SfcTypeRelation, _
discovered As Boolean _
) Implements ISfcDependencyDiscoveryObjectSink.Add
'Utilizzo
Dim instance As SfcDependencyEngine
Dim direction As SfcDependencyDirection
Dim targetObjects As IEnumerator
Dim relation As SfcTypeRelation
Dim discovered As Boolean
CType(instance, ISfcDependencyDiscoveryObjectSink).Add(direction, _
targetObjects, relation, discovered)
void ISfcDependencyDiscoveryObjectSink.Add(
SfcDependencyDirection direction,
IEnumerator targetObjects,
SfcTypeRelation relation,
bool discovered
)
private:
virtual void Add(
SfcDependencyDirection direction,
IEnumerator^ targetObjects,
SfcTypeRelation relation,
bool discovered
) sealed = ISfcDependencyDiscoveryObjectSink::Add
private abstract Add :
direction:SfcDependencyDirection *
targetObjects:IEnumerator *
relation:SfcTypeRelation *
discovered:bool -> unit
private override Add :
direction:SfcDependencyDirection *
targetObjects:IEnumerator *
relation:SfcTypeRelation *
discovered:bool -> unit
JScript supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.
Parametri
- direction
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDirection
The direction of the relation of the target objects with this object.
- targetObjects
Tipo: System.Collections.IEnumerator
The enumeration of objects to be added.
- relation
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation
The type of relation between this object and the target objects.
- discovered
Tipo: System.Boolean
true to indicate whether the target object has been visited for discovery purposes; otherwise, false.
Implementa
ISfcDependencyDiscoveryObjectSink.Add(SfcDependencyDirection, IEnumerator, SfcTypeRelation, Boolean)