Partilhar via


Classe TargetSetCollection

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 (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
Public NotInheritable Class TargetSetCollection _
    Inherits SfcCollatedDictionaryCollection(Of TargetSet, TargetSet..::..Key, ObjectSet)
'Uso
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>

Comentários

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.

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Hierarquia de herança

System. . :: . .Object
  SfcCollection< (Of < ( <'TargetSet, TargetSet. . :: . .Key, ObjectSet> ) > ) >
    SfcCollatedDictionaryCollection< (Of < ( <'TargetSet, TargetSet. . :: . .Key, ObjectSet> ) > ) >
      Microsoft.SqlServer.Management.Dmf..::..TargetSetCollection

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.