Sdílet prostřednictvím


ISfcDependencyDiscoveryObjectSink.Add Method

Definition

Overloads

Add(SfcDependencyDirection, SfcInstance, SfcTypeRelation, Boolean)

Add a directional reference from this object to the target object. The relation type and discovered state is applied to the target object.

Add(SfcDependencyDirection, IEnumerator, SfcTypeRelation, Boolean)

Add a directional reference from this object to each of the target objects or keychains. The relation type and discovered state is applied to each target object or keychain added.

Add<T>(SfcDependencyDirection, IEnumerable<T>, SfcTypeRelation, Boolean)

Add a directional reference from this object to each of the target objects or keychains. The relation type and discovered state is applied to each target object or keychain added.

Add(SfcDependencyDirection, SfcInstance, SfcTypeRelation, Boolean)

Add a directional reference from this object to the target object. The relation type and discovered state is applied to the target object.

public void Add (Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDirection direction, Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance targetObject, Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation relation, bool discovered);
abstract member Add : Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDirection * Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance * Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation * bool -> unit
Public Sub Add (direction As SfcDependencyDirection, targetObject As SfcInstance, relation As SfcTypeRelation, discovered As Boolean)

Parameters

targetObject
SfcInstance
relation
SfcTypeRelation
discovered
Boolean

Applies to

Add(SfcDependencyDirection, IEnumerator, SfcTypeRelation, Boolean)

Add a directional reference from this object to each of the target objects or keychains. The relation type and discovered state is applied to each target object or keychain added.

public void Add (Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDirection direction, System.Collections.IEnumerator targetObjects, Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation relation, bool discovered);
abstract member Add : Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDirection * System.Collections.IEnumerator * Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation * bool -> unit
Public Sub Add (direction As SfcDependencyDirection, targetObjects As IEnumerator, relation As SfcTypeRelation, discovered As Boolean)

Parameters

targetObjects
IEnumerator
relation
SfcTypeRelation
discovered
Boolean

Applies to

Add<T>(SfcDependencyDirection, IEnumerable<T>, SfcTypeRelation, Boolean)

Add a directional reference from this object to each of the target objects or keychains. The relation type and discovered state is applied to each target object or keychain added.

public void Add<T> (Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDirection direction, System.Collections.Generic.IEnumerable<T> targetObjects, Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation relation, bool discovered) where T : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance;
abstract member Add : Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDirection * seq<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance)> * Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation * bool -> unit (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance)
Public Sub Add(Of T As SfcInstance) (direction As SfcDependencyDirection, targetObjects As IEnumerable(Of T), relation As SfcTypeRelation, discovered As Boolean)

Type Parameters

T

Parameters

targetObjects
IEnumerable<T>
relation
SfcTypeRelation
discovered
Boolean

Applies to