Конструктор 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>
)
Параметры
- parent
Тип: Microsoft.SqlServer.Management.Dmf. . :: . .PolicyStore
A PolicyStore object value that specifies the parent of the PolicyCategoryCollection object.
- customComparer
Тип: System.Collections.Generic. . :: . .IComparer< (Of < ( <'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.