共用方式為


RegisteredServerCollection 建構函式

Initializes a new instance of the RegisteredServerCollection class based on the specified parent object and the specified comparison interface.

命名空間:  Microsoft.SqlServer.Management.RegisteredServers
組件:  Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

語法

'宣告
Public Sub New ( _
    parent As ServerGroup, _
    customComparer As IComparer(Of String) _
)
'用途
Dim parent As ServerGroup
Dim customComparer As IComparer(Of String)

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

參數

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。