Share via


PolicyCollection Constructor (PolicyStore, IComparer<String>)

Initializes a new instance of the PolicyCollection 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 PolicyCollection(parent, _
    customComparer)
public PolicyCollection(
    PolicyStore parent,
    IComparer<string> customComparer
)
public:
PolicyCollection(
    PolicyStore^ parent, 
    IComparer<String^>^ customComparer
)
new : 
        parent:PolicyStore * 
        customComparer:IComparer<string> -> PolicyCollection
public function PolicyCollection(
    parent : PolicyStore, 
    customComparer : IComparer<String>
)

Parameters

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.