PolicyCategoryCollection 建構函式 (PolicyStore, IComparer<String>)
Initializes a new instance of the PolicyCategoryCollection 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 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>
)
參數
- parent
型別:Microsoft.SqlServer.Management.Dmf.PolicyStore
A PolicyStore object value that specifies the parent of the PolicyCategoryCollection object.
- customComparer
型別: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.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。