SfcDependencyEngine.ISfcDependencyDiscoveryObjectSink.Add 메서드 (SfcDependencyDirection, IEnumerator, SfcTypeRelation, Boolean)
Adds a directional reference from this object to each of the target objects or keychains with the relation type and discovered state applied to each target object or keychain. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Private Sub Add ( _
direction As SfcDependencyDirection, _
targetObjects As IEnumerator, _
relation As SfcTypeRelation, _
discovered As Boolean _
) Implements ISfcDependencyDiscoveryObjectSink.Add
‘사용 방법
Dim instance As SfcDependencyEngine
Dim direction As SfcDependencyDirection
Dim targetObjects As IEnumerator
Dim relation As SfcTypeRelation
Dim discovered As Boolean
CType(instance, ISfcDependencyDiscoveryObjectSink).Add(direction, _
targetObjects, relation, discovered)
void ISfcDependencyDiscoveryObjectSink.Add(
SfcDependencyDirection direction,
IEnumerator targetObjects,
SfcTypeRelation relation,
bool discovered
)
private:
virtual void Add(
SfcDependencyDirection direction,
IEnumerator^ targetObjects,
SfcTypeRelation relation,
bool discovered
) sealed = ISfcDependencyDiscoveryObjectSink::Add
private abstract Add :
direction:SfcDependencyDirection *
targetObjects:IEnumerator *
relation:SfcTypeRelation *
discovered:bool -> unit
private override Add :
direction:SfcDependencyDirection *
targetObjects:IEnumerator *
relation:SfcTypeRelation *
discovered:bool -> unit
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.
매개 변수
- direction
유형: Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDirection
The direction of the relation of the target objects with this object.
- targetObjects
유형: System.Collections.IEnumerator
The enumeration of objects to be added.
- relation
유형: Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation
The type of relation between this object and the target objects.
- discovered
유형: System.Boolean
true to indicate whether the target object has been visited for discovery purposes; otherwise, false.
구현
ISfcDependencyDiscoveryObjectSink.Add(SfcDependencyDirection, IEnumerator, SfcTypeRelation, Boolean)