Compartir a través de


ObjectSets Propiedad

Represents a collection of ObjectSet objects. Each ObjectSet object represents a policy-based Management object set.

Espacio de nombres:  Microsoft.SqlServer.Management.Dmf
Ensamblado:  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Sintaxis

'Declaración
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(ObjectSet))> _
Public ReadOnly Property ObjectSets As ObjectSetCollection
    Get
'Uso
Dim instance As PolicyStore
Dim value As ObjectSetCollection

value = instance.ObjectSets
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(ObjectSet))]
public ObjectSetCollection ObjectSets { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(ObjectSet))]
public:
property ObjectSetCollection^ ObjectSets {
    ObjectSetCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(ObjectSet))>]
member ObjectSets : ObjectSetCollection
function get ObjectSets () : ObjectSetCollection

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Dmf. . :: . .ObjectSetCollection
A ObjectSetCollection object that represents all the object sets that are defined on the policy store.

Notas

This collection references specific object sets by specifying the name of the object set. To add a new object set to the collection, call the object set constructor ObjectSet.

Este espacio de nombres, clase o miembro solo se admite en la versión 2.0 de Microsoft .NET Framework.