Метод ISfcDependencyDiscoveryObjectSink.Add (SfcDependencyDirection, SfcInstance, SfcTypeRelation, Boolean)
Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.
Пространство имен: Microsoft.SqlServer.Management.Sdk.Sfc
Сборка: Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Синтаксис
'Декларация
Sub Add ( _
direction As SfcDependencyDirection, _
targetObject As SfcInstance, _
relation As SfcTypeRelation, _
discovered As Boolean _
)
'Применение
Dim instance As ISfcDependencyDiscoveryObjectSink
Dim direction As SfcDependencyDirection
Dim targetObject As SfcInstance
Dim relation As SfcTypeRelation
Dim discovered As Boolean
instance.Add(direction, targetObject, _
relation, discovered)
void Add(
SfcDependencyDirection direction,
SfcInstance targetObject,
SfcTypeRelation relation,
bool discovered
)
void Add(
SfcDependencyDirection direction,
SfcInstance^ targetObject,
SfcTypeRelation relation,
bool discovered
)
abstract Add :
direction:SfcDependencyDirection *
targetObject:SfcInstance *
relation:SfcTypeRelation *
discovered:bool -> unit
function Add(
direction : SfcDependencyDirection,
targetObject : SfcInstance,
relation : SfcTypeRelation,
discovered : boolean
)
Параметры
- direction
Тип: Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDirection
A value that indicates the direction of the relation relative to the object.
- targetObject
Тип: Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
An instance that indicates the aim object.
- relation
Тип: Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation
A value that specifies the type of relation between an objects.
- discovered
Тип: System.Boolean
true to the object that has been discovered; otherwise, false.