PolicyCollection-Konstruktor (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>
)
Parameter
- parent
Typ: Microsoft.SqlServer.Management.Dmf. . :: . .PolicyStore
A PolicyStore object value that specifies the parent of the Policy object.
- customComparer
Typ: System.Collections.Generic. . :: . .IComparer< (Of < ( <'String> ) > ) >
A generic value that represents the compared results of a String value.
Hinweise
Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.