PolicyCategoryCollection Constructor (PolicyStore, IComparer<String>)
Initializes a new instance of the PolicyCategoryCollection class.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Sub New ( _
parent As PolicyStore, _
customComparer As IComparer(Of String) _
)
'Usage
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>
)
Parameters
- parent
Type: Microsoft.SqlServer.Management.Dmf.PolicyStore
A PolicyStore object value that specifies the parent of the PolicyCategoryCollection object.
- customComparer
Type: 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.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.