Freigeben über


Facets-Eigenschaft

Represents a collection of FacetInfo objects. Each FacetInfo object represents a policy-based Management registered facet.

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

Syntax

'Declaration
<SfcIgnoreAttribute> _
Public Shared ReadOnly Property Facets As FacetInfoCollection
    Get
'Usage
Dim value As FacetInfoCollection

value = PolicyStore.Facets
[SfcIgnoreAttribute]
public static FacetInfoCollection Facets { get; }
[SfcIgnoreAttribute]
public:
static property FacetInfoCollection^ Facets {
    FacetInfoCollection^ get ();
}
[<SfcIgnoreAttribute>]
static member Facets : FacetInfoCollection
static function get Facets () : FacetInfoCollection

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Dmf. . :: . .FacetInfoCollection
A FacetInfoCollection object that represents all the registered facets that are defined on the policy store.

Hinweise

This collection can reference specific facets by specifying the name of the facet. To add a new facet to the collection, call the facet constructor #ctor()()()().