Share via


ComputerCollection Constructor (Utility, IComparer<String>)

Initializes a new instance of the CollectionCollection class on the specified Utility domain and with the specified comparer interface.

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
Public Sub New ( _
    parent As Utility, _
    customComparer As IComparer(Of String) _
)
'Usage
Dim parent As Utility 
Dim customComparer As IComparer(Of String)

Dim instance As New ComputerCollection(parent, _
    customComparer)
public ComputerCollection(
    Utility parent,
    IComparer<string> customComparer
)
public:
ComputerCollection(
    Utility^ parent, 
    IComparer<String^>^ customComparer
)
new : 
        parent:Utility * 
        customComparer:IComparer<string> -> ComputerCollection
public function ComputerCollection(
    parent : Utility, 
    customComparer : IComparer<String>
)

Parameters

See Also

Reference

ComputerCollection Class

ComputerCollection Overload

Microsoft.SqlServer.Management.Utility Namespace