مشاركة عبر


SfcDependencyEngine Class

Provides the graph manipulation, population, storage, and discovery execution logic that perform complete discovery services, data access to DepIterators, and walk results in various ways. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyEngine

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

Syntax

'Declaration
Public NotInheritable Class SfcDependencyEngine _
    Implements ISfcDependencyDiscoveryObjectSink, IDisposable
'Usage
Dim instance As SfcDependencyEngine
public sealed class SfcDependencyEngine : ISfcDependencyDiscoveryObjectSink, 
    IDisposable
public ref class SfcDependencyEngine sealed : ISfcDependencyDiscoveryObjectSink, 
    IDisposable
[<SealedAttribute>]
type SfcDependencyEngine =  
    class 
        interface ISfcDependencyDiscoveryObjectSink 
        interface IDisposable 
    end
public final class SfcDependencyEngine implements ISfcDependencyDiscoveryObjectSink, IDisposable

The SfcDependencyEngine type exposes the following members.

Constructors

  Name Description
Public method SfcDependencyEngine Initializes a new instance of the SfcDependencyEngine class. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Properties

  Name Description
Public property Action Gets the discovery action this dependency session is processing. This may affect which relationships are added. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Methods

  Name Description
Public method Add(SfcInstance) Adds a new single object node with no directional relation to either a parent or child node.
Public method Add(SfcInstance, SfcInstance, SfcTypeRelation) Adds a new tuple relation of a parent node and its child node which depends on it.
Public method Discover Performs complete dependency relation discovery. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method Dispose Releases the resources used by the current instance of the SfcDependencyEngine class. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetListEnumerator Returns the enumerator which can be used to walk the graph as a list by the client. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetTreeEnumerator Returns the enumerator which can be bused to walk the graph tree by the client. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method 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. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Explicit interface implemetationPrivate method 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. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Explicit interface implemetationPrivate method ISfcDependencyDiscoveryObjectSink.Add<T>(SfcDependencyDirection, IEnumerable<T>, 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.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Sdk.Sfc Namespace