Méthode ISfcDependencyDiscoveryObjectSink.Add (SfcDependencyDirection, IEnumerator, SfcTypeRelation, Boolean)
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
Sub Add ( _
direction As SfcDependencyDirection, _
targetObjects As IEnumerator, _
relation As SfcTypeRelation, _
discovered As Boolean _
)
'Utilisation
Dim instance As ISfcDependencyDiscoveryObjectSink
Dim direction As SfcDependencyDirection
Dim targetObjects As IEnumerator
Dim relation As SfcTypeRelation
Dim discovered As Boolean
instance.Add(direction, targetObjects, _
relation, discovered)
void Add(
SfcDependencyDirection direction,
IEnumerator targetObjects,
SfcTypeRelation relation,
bool discovered
)
void Add(
SfcDependencyDirection direction,
IEnumerator^ targetObjects,
SfcTypeRelation relation,
bool discovered
)
abstract Add :
direction:SfcDependencyDirection *
targetObjects:IEnumerator *
relation:SfcTypeRelation *
discovered:bool -> unit
function Add(
direction : SfcDependencyDirection,
targetObjects : IEnumerator,
relation : SfcTypeRelation,
discovered : boolean
)
Paramètres
- direction
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDirection
A value that indicates the direction of the relation relative to the object.
- targetObjects
Type : System.Collections.IEnumerator
One of the [IEnumerator] values that specify the aim objects.
- relation
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation
A value that specifies the type of relation between an objects.
- discovered
Type : System.Boolean
true to the object that has been discovered; otherwise, false.