Add 方法 (SfcDependencyDirection, IEnumerator, 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, _
targetObjects As IEnumerator, _
relation As SfcTypeRelation, _
discovered As Boolean _
)
'用途
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
)
參數
- direction
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcDependencyDirection
A value that indicates the direction of the relation relative to the object.
- targetObjects
型別:System.Collections. . :: . .IEnumerator
One of the [IEnumerator] values that specify the aim objects.
- 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.