Export (0) Print
Expand All

FacetInfo Class

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.

Object
  Microsoft.SqlServer.Management.Dmf.FacetInfo

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class FacetInfo : IDisposable, 
	IComparable

The FacetInfo type exposes the following members.

  NameDescription
Public propertyDescriptionGets the descriptions of the facet.
Public propertyDisplayNameGets the display name of the facet.
Public propertyEvaluationModeGets the evaluation mode for the facet.
Public propertyFacetPropertiesGets static information about the properties of the facet.
Public propertyFacetPropertyDescriptorsGets the descriptors of the facet properties.
Public propertyFacetTypeGets the facet type.
Public propertyNameGets the name of the facet.
Public propertyTargetTypesRepresents a collection of Type objects. Each Type object represents a system type on which the facet operates.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetTargetPropertyIndicates the target property to get.
Public methodGetType (Inherited from Object.)
Public methodToStringRenders a string input in the FacetInfo object. (Overrides ObjectToString.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIComparableCompareToCompares the objects within the FacetInfo.
Explicit interface implemetationPrivate methodIDisposableDisposeReleases all resources used by the FacetInfo class.
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft