ISfcDependencyDiscoveryObjectSink.Add<T> Method (SfcDependencyDirection, IEnumerable<T>, SfcTypeRelation, Boolean)

 

Add a directional reference from this object to each of the target objects or key chains.

Namespace:   Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

void Add<T>(
	SfcDependencyDirection direction,
	IEnumerable<T> targetObjects,
	SfcTypeRelation relation,
	bool discovered
)
where T : SfcInstance

Parameters

direction
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDirection

The Sfc dependency direction

targetObjects
Type: System.Collections.Generic.IEnumerable<T>

An IEnumerable target object.

relation
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeRelation

The Sfc type relation.

discovered
Type: System.Boolean

True to manage the discovered state of the specified object; otherwise, false.

Type Parameters

T

The SfcInstance.

Return to top
Show: