語言

ComputerCollection 建構函式

定義

初始化 ComputerCollection 類別的新執行個體。

多載

名稱 Description
ComputerCollection(Utility)

初始化該類別在指定的效用域上的新實例 ComputerCollection 。

ComputerCollection(Utility, IComparer<String>)

在指定的效用域及指定的比較介面上初始化該 ComputerCollection 類別的新實例。

備註

預設建構子會將任何欄位初始化為其預設值。

ComputerCollection(Utility)

初始化該類別在指定的效用域上的新實例 ComputerCollection 。

public:
 ComputerCollection(Microsoft::SqlServer::Management::Utility::Utility ^ parent);
public ComputerCollection(Microsoft.SqlServer.Management.Utility.Utility parent);
new Microsoft.SqlServer.Management.Utility.ComputerCollection : Microsoft.SqlServer.Management.Utility.Utility -> Microsoft.SqlServer.Management.Utility.ComputerCollection
Public Sub New (parent As Utility)

參數

parent
Utility

一個 Utility 指定集合父節點的物件。

備註

預設建構子會將任何欄位初始化為其預設值。

適用於

ComputerCollection(Utility, IComparer<String>)

在指定的效用域及指定的比較介面上初始化該 ComputerCollection 類別的新實例。

public:
 ComputerCollection(Microsoft::SqlServer::Management::Utility::Utility ^ parent, System::Collections::Generic::IComparer<System::String ^> ^ customComparer);
public ComputerCollection(Microsoft.SqlServer.Management.Utility.Utility parent, System.Collections.Generic.IComparer<string> customComparer);
new Microsoft.SqlServer.Management.Utility.ComputerCollection : Microsoft.SqlServer.Management.Utility.Utility * System.Collections.Generic.IComparer<string> -> Microsoft.SqlServer.Management.Utility.ComputerCollection
Public Sub New (parent As Utility, customComparer As IComparer(Of String))

參數

parent
Utility

一個 Utility 指定集合父節點的物件。

customComparer
IComparer<String>

一個 IComparer 字串物件,用來指定自訂比較器介面。

適用於