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


Конструктор PolicyCategoryCollection (PolicyStore, IComparer<String>)

Initializes a new instance of the PolicyCategoryCollection class.

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

Синтаксис

'Декларация
Public Sub New ( _
    parent As PolicyStore, _
    customComparer As IComparer(Of String) _
)
'Применение
Dim parent As PolicyStore 
Dim customComparer As IComparer(Of String)

Dim instance As New PolicyCategoryCollection(parent, _
    customComparer)
public PolicyCategoryCollection(
    PolicyStore parent,
    IComparer<string> customComparer
)
public:
PolicyCategoryCollection(
    PolicyStore^ parent, 
    IComparer<String^>^ customComparer
)
new : 
        parent:PolicyStore * 
        customComparer:IComparer<string> -> PolicyCategoryCollection
public function PolicyCategoryCollection(
    parent : PolicyStore, 
    customComparer : IComparer<String>
)

Параметры

  • customComparer
    Тип: System.Collections.Generic.IComparer<String>
    An [IComparer(System.String)] object value that specifies the parent of the comparison interface that is associated with the policy category.

Замечания

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

См. также

Справочник

PolicyCategoryCollection Класс

Перегрузка PolicyCategoryCollection

Пространство имен Microsoft.SqlServer.Management.Dmf