Share via


TargetSetCollection Class

The TargetSetCollectionCollection class represents a collection of TargetSet objects that represent all the policies in the policy store.

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

Syntax

'Declaration
Public NotInheritable Class TargetSetCollection _
    Inherits SfcCollatedDictionaryCollection(Of TargetSet, TargetSet..::..Key, ObjectSet)
'Usage
Dim instance As TargetSetCollection
public sealed class TargetSetCollection : SfcCollatedDictionaryCollection<TargetSet, TargetSet..::..Key, ObjectSet>
public ref class TargetSetCollection sealed : public SfcCollatedDictionaryCollection<TargetSet^, TargetSet..::..Key^, ObjectSet^>
[<SealedAttribute>]
type TargetSetCollection =  
    class
        inherit SfcCollatedDictionaryCollection<TargetSet, TargetSet..::..Key, ObjectSet>
    end
public final class TargetSetCollection extends SfcCollatedDictionaryCollection<TargetSet, TargetSet..::..Key, ObjectSet>

Remarks

A TargetSetCollection object can be used to gain access to a set of policies. You can use the Item property to return a specific TargetSet object.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Inheritance Hierarchy

System.Object
  SfcCollection<TargetSet, TargetSet.Key, ObjectSet>
    SfcCollatedDictionaryCollection<TargetSet, TargetSet.Key, ObjectSet>
      Microsoft.SqlServer.Management.Dmf.TargetSetCollection

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.