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
- parent
Type: Microsoft.SqlServer.Management.Dmf.PolicyStore
A PolicyStore object value that specifies the parent of the Policy object.
- customComparer
Type: System.Collections.Generic.IComparer<String>
A generic value that represents the compared results of a String value.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.