Partilhar via


Construtor VolumeCollection (Computer, IComparer(String))

Initializes a new instance of the VolumeCollection class on the specified computer and with the specified comparer interface.

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

Sintaxe

'Declaração
Public Sub New ( _
    parent As Computer, _
    customComparer As IComparer(Of String) _
)
'Uso
Dim parent As Computer
Dim customComparer As IComparer(Of String)

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

Parâmetros