Constructeur VolumeCollection (Computer, IComparer<String>)
Initializes a new instance of the VolumeCollection class on the specified computer and with the specified comparer interface.
Espace de noms : Microsoft.SqlServer.Management.Utility
Assembly : Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)
Syntaxe
'Déclaration
Public Sub New ( _
parent As Computer, _
customComparer As IComparer(Of String) _
)
'Utilisation
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>
)
Paramètres
- parent
Type : Microsoft.SqlServer.Management.Utility.Computer
A Computer object that specifies the parent of the collection.
- customComparer
Type : System.Collections.Generic.IComparer<String>
A [T:System.Collections.Generic.IComparer<string>] object that specifies the custom comparer interface.