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. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Private Sub Add ( _
direction As SfcDependencyDirection, _
targetObject As SfcInstance, _
relation As SfcTypeRelation, _
discovered As Boolean _
) Implements ISfcDependencyDiscoveryObjectSink.Add
‘사용 방법
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는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.
매개 변수
- direction
유형: Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDirection
The direction of the relation of the target object with this object.
- targetObject
유형: Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
The object to be added.
- relation
유형: Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation
The type of relation between this object and the target object.
- discovered
유형: System.Boolean
true to indicate whether the target object has been visited for discovery purposes; otherwise, false.
구현
ISfcDependencyDiscoveryObjectSink.Add(SfcDependencyDirection, SfcInstance, SfcTypeRelation, Boolean)