Поделиться через


Класс TargetSetCollection

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

Пространство имен:  Microsoft.SqlServer.Management.Dmf
Сборка:  Microsoft.SqlServer.Dmf (в Microsoft.SqlServer.Dmf.dll)

Синтаксис

'Декларация
Public NotInheritable Class TargetSetCollection _
    Inherits SfcCollatedDictionaryCollection(Of TargetSet, TargetSet..::..Key, ObjectSet)
'Применение
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>

Замечания

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.

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Иерархия наследования

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

Потоковая защита

Все открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность элементов экземпляров не гарантируется.