View Single Post
Old 08-08-2007   #2 (permalink)
Oisin Grehan


 
 

Re: Disconnecting from SQL server

On Aug 8, 8:38 am, Sandiyan <sandi...@yahoo.co.uk> wrote:
> 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.


Hi Sandiyan,

Your post is too incomplete and vague to understand. Please be more
specific with your request, and post more of your script. The two
lines you wrote demonstrate very little of your problem.

Regards

- Oisin

My System SpecsSystem Spec