SfcDependencyEngine 类

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. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

继承层次结构

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

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public NotInheritable Class SfcDependencyEngine _
    Implements ISfcDependencyDiscoveryObjectSink, IDisposable
用法
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

SfcDependencyEngine 类型公开以下成员。

构造函数

  名称 说明
公共方法 SfcDependencyEngine Initializes a new instance of the SfcDependencyEngine class. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

页首

属性

  名称 说明
公共属性 Action Gets the discovery action this dependency session is processing. This may affect which relationships are added. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

页首

方法

  名称 说明
公共方法 Add(SfcInstance) Adds a new single object node with no directional relation to either a parent or child node.
公共方法 Add(SfcInstance, SfcInstance, SfcTypeRelation) Adds a new tuple relation of a parent node and its child node which depends on it.
公共方法 Discover Performs complete dependency relation discovery. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 Dispose Releases the resources used by the current instance of the SfcDependencyEngine class. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 Equals (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetListEnumerator Returns the enumerator which can be used to walk the graph as a list by the client. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetTreeEnumerator Returns the enumerator which can be bused to walk the graph tree by the client. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetType (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 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. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
显式接口实现私有方法 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 基础结构。
显式接口实现私有方法 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.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间