Propriété PolicyStore.Facets
Represents a collection of FacetInfo objects. Each FacetInfo object represents a policy-based Management registered facet.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
<SfcIgnoreAttribute> _
Public Shared ReadOnly Property Facets As FacetInfoCollection
Get
'Utilisation
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
Valeur de propriété
Type : Microsoft.SqlServer.Management.Dmf.FacetInfoCollection
A FacetInfoCollection object that represents all the registered facets that are defined on the policy store.
Notes
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.