Remove méthode
Removes a RegisteredServer object from the RegisteredServerCollection object.
Espace de noms : Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly : Microsoft.SqlServer.SmoExtended (dans Microsoft.SqlServer.SmoExtended.dll)
Syntaxe
'Déclaration
Public Sub Remove ( _
key As String _
)
'Utilisation
Dim instance As RegisteredServerCollection
Dim key As String
instance.Remove(key)
public void Remove(
string key
)
public:
void Remove(
String^ key
)
member Remove :
key:string -> unit
public function Remove(
key : String
)
Paramètres
- key
Type : System. . :: . .String
A String value that specifies the name of the registered server that is to be removed from the collection.
Voir aussi