Méthode SfcDependencyEngine.ISfcDependencyDiscoveryObjectSink.Add (SfcDependencyDirection, SfcInstance, SfcTypeRelation, Boolean)
Adds a directional reference from this object to the target object with the relation type and discovered state applied to the target object. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Private Sub Add ( _
direction As SfcDependencyDirection, _
targetObject As SfcInstance, _
relation As SfcTypeRelation, _
discovered As Boolean _
) Implements ISfcDependencyDiscoveryObjectSink.Add
'Utilisation
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Paramètres
- direction
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDirection
The direction of the relation of the target object with this object.
- targetObject
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
The object to be added.
- relation
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation
The type of relation between this object and the target object.
- discovered
Type : System.Boolean
true to indicate whether the target object has been visited for discovery purposes; otherwise, false.
Implémente
ISfcDependencyDiscoveryObjectSink.Add(SfcDependencyDirection, SfcInstance, SfcTypeRelation, Boolean)