ISfcDependencyDiscoveryObjectSink.Add<T> Método (SfcDependencyDirection, IEnumerable<T>, SfcTypeRelation, Boolean)
Add a directional reference from this object to each of the target objects or key chains.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Sub Add(Of T As SfcInstance) ( _
direction As SfcDependencyDirection, _
targetObjects As IEnumerable(Of T), _
relation As SfcTypeRelation, _
discovered As Boolean _
)
'Uso
Dim instance As ISfcDependencyDiscoveryObjectSink
Dim direction As SfcDependencyDirection
Dim targetObjects As IEnumerable(Of T)
Dim relation As SfcTypeRelation
Dim discovered As Boolean
instance.Add(direction, targetObjects, _
relation, discovered)
void Add<T>(
SfcDependencyDirection direction,
IEnumerable<T> targetObjects,
SfcTypeRelation relation,
bool discovered
)
where T : SfcInstance
generic<typename T>
where T : SfcInstance
void Add(
SfcDependencyDirection direction,
IEnumerable<T>^ targetObjects,
SfcTypeRelation relation,
bool discovered
)
abstract 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 SfcInstance.
Parámetros
- direction
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDirection
The Sfc dependency direction
- targetObjects
Tipo: System.Collections.Generic.IEnumerable<T>
An IEnumerable target object.
- relation
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation
The Sfc type relation.
- discovered
Tipo: System.Boolean
True to manage the discovered state of the specified object; otherwise, false.