FacetInfo 类

The FacetInfo object represents facet information. A facet represents a logical dimension of a target object and is used, together with a local expression, to build a condition.

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Management.Dmf..::..FacetInfo

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

语法

声明
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class FacetInfo _
    Implements IDisposable, IComparable
用法
Dim instance As FacetInfo
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class FacetInfo : IDisposable, 
    IComparable
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class FacetInfo sealed : IDisposable, 
    IComparable
[<SealedAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type FacetInfo =  
    class
        interface IDisposable
        interface IComparable
    end
public final class FacetInfo implements IDisposable, IComparable

FacetInfo 类型公开以下成员。

属性

  名称 说明
公共属性 Description Gets the descriptions of the facet.
公共属性 DisplayName Gets the display name of the facet.
公共属性 EvaluationMode Gets the evaluation mode for the facet.
公共属性 FacetProperties Gets static information about the properties of the facet.
公共属性 FacetPropertyDescriptors Gets the descriptors of the facet properties.
公共属性 FacetType Gets the facet type.
公共属性 Name Gets the name of the facet.
公共属性 TargetTypes Represents a collection of Type objects. Each Type object represents a system type on which the facet operates.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetTargetProperty Indicates the target property to get.
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString Renders a string input in the FacetInfo object. (覆盖 Object. . :: . .ToString() () () ()。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IComparable. . :: . .CompareTo Compares the objects within the FacetInfo.
显式接口实现私有方法 IDisposable. . :: . .Dispose Releases all resources used by the FacetInfo class.

页首

注释

A facet is a logical dimension of a target type with a set of logical properties. An example of a facet on a SQL Server instance target is Database Mail. A target type can implement more than one management facet; and a management facet can be implemented by more than one target type. For example, many instances of SQL Server can have Database Mail installed and one instance of SQL Server can have both Database Mail and as well other facets.

Facets are stored in the FacetRepository which is in the Microsoft.SqlServer.Management.Facets namespace.

The state of a target is the description of current characteristics of a target in terms of management facets. The expression used to create a condition specified the state of the target in terms of the facet.

线程安全

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