I am using the following :
to create a server object. In this case it connects to the default local server which in my case is a sql server 2000 instance on my local machine.Code:Dim svr As Server = New Server()
I am trying to create a server object for my sqlExpress 2005 installation on my local machine but for the life of me cannot figure it out.
I have tried :
but i get no joy.Code:Dim svr As Server = New Server(@"MACHINENAME\SQLEXPRESS")
It always fails to connect.
What am I doing wrong ?





Reply With Quote