共用方式為


PolicyCollection 建構函式 (PolicyStore, IComparer(String))

Initializes a new instance of the PolicyCollection class.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Sub New ( _
    parent As PolicyStore, _
    customComparer As IComparer(Of String) _
)
'用途
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>
)

參數

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。