Udostępnij przez


RegisteredServerCollection.Remove Method

Removes a RegisteredServer object from the RegisteredServerCollection object.

Namespace: Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly: Microsoft.SqlServer.SmoExtended (in microsoft.sqlserver.smoextended.dll)

Syntax

'Deklaracja
Public Sub Remove ( _
    key As String _
)
public void Remove (
    string key
)
public:
void Remove (
    String^ key
)
public void Remove (
    String key
)
public function Remove (
    key : String
)

Parameters

  • key
    A String value that specifies the name of the registered server that is to be removed from the collection.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.