View Single Post
Old 08-08-2007   #1 (permalink)
Sandiyan


 
 

Disconnecting from SQL server

I do the following to connect to a remote SQL server:

$Server = new-object ("Microsoft.SqlServer.Management.Smo.Server")
$RemoteMachine

Whats the method to disconnect from this server - or can we reset/delete
object..?

thanks,
Sandiyan.
My System SpecsSystem Spec