PolicyCategoryCollection Constructor (PolicyStore, IComparer(String))
Initializes a new instance of the PolicyCategoryCollection class.
Espacio de nombres: Microsoft.SqlServer.Management.Dmf
Ensamblado: Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Sintaxis
'Declaración
Public Sub New ( _
parent As PolicyStore, _
customComparer As IComparer(Of String) _
)
'Uso
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>
)
Parámetros
- parent
Tipo: Microsoft.SqlServer.Management.Dmf. . :: . .PolicyStore
A PolicyStore object value that specifies the parent of the PolicyCategoryCollection object.
- customComparer
Tipo: 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.
Comentarios
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.